Class WorkflowExecutionStartedEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionStartedEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionStartedEventAttributesOrBuilder,Cloneable
- Enclosing class:
WorkflowExecutionStartedEventAttributes
public static final class WorkflowExecutionStartedEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
implements WorkflowExecutionStartedEventAttributesOrBuilder
Always the first event in workflow historyProtobuf type
temporal.api.history.v1.WorkflowExecutionStartedEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddAllCompletionCallbacks(Iterable<? extends Callback> values) Completion callbacks attached when this workflow was started.addCompletionCallbacks(int index, Callback value) Completion callbacks attached when this workflow was started.addCompletionCallbacks(int index, Callback.Builder builderForValue) Completion callbacks attached when this workflow was started.addCompletionCallbacks(Callback value) Completion callbacks attached when this workflow was started.addCompletionCallbacks(Callback.Builder builderForValue) Completion callbacks attached when this workflow was started.Completion callbacks attached when this workflow was started.addCompletionCallbacksBuilder(int index) Completion callbacks attached when this workflow was started.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Starting at 1, the number of times we have tried to execute this workflowCompletion callbacks attached when this workflow was started.Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow..temporal.api.failure.v1.Failure continued_failure = 12;If this workflow runs on a cron schedule, it will appear hereDuring a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior).A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and eager execution was accepted by the server.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule..temporal.api.common.v1.Header header = 25;Identity of the client who requested this executionIf present, the new workflow begins with AutoUpgrade behavior.Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated.If present, the new workflow should start on this version with pinned base behavior..temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;SDK will deserialize this and provide it as arguments to the workflow function.temporal.api.common.v1.Payloads last_completion_result = 13;.temporal.api.common.v1.Memo memo = 22;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) This is the run id when the WorkflowExecutionStarted event was written.EventID of the child execution initiated event in parent workflowVersion of the child execution initiated event in parent workflow It should be used together with parent_initiated_event_id to identify a child initiated event for global namespaceDeprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated.Contains information about parent workflow execution that initiated the child workflow these attributes belong to.If this workflow is a child, the namespace our parent lives in.string parent_workflow_namespace_id = 27;.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;Priority metadata.temporal.api.common.v1.RetryPolicy retry_policy = 17;Contains information about the root workflow execution..temporal.api.common.v1.SearchAttributes search_attributes = 23;Deprecated..temporal.api.taskqueue.v1.TaskQueue task_queue = 5;Initial time-skipping configuration for this workflow execution, recorded at start time.The time-skipping state propagated from a previous run of this workflow.Versioning override applied to this workflow when it was started.The absolute time at which the workflow will be timed out.Total workflow execution timeout including retries and continue as new.This field is new in 1.21.Timeout of a single workflow run.Timeout of a single workflow task..temporal.api.common.v1.WorkflowType workflow_type = 1;clone()intStarting at 1, the number of times we have tried to execute this workflowgetCompletionCallbacks(int index) Completion callbacks attached when this workflow was started.getCompletionCallbacksBuilder(int index) Completion callbacks attached when this workflow was started.Completion callbacks attached when this workflow was started.intCompletion callbacks attached when this workflow was started.Completion callbacks attached when this workflow was started.getCompletionCallbacksOrBuilder(int index) Completion callbacks attached when this workflow was started.List<? extends CallbackOrBuilder> Completion callbacks attached when this workflow was started.Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow.com.google.protobuf.ByteStringRun id of the previous workflow which continued-as-new or retried or cron executed into this workflow..temporal.api.failure.v1.Failure continued_failure = 12;.temporal.api.failure.v1.Failure continued_failure = 12;.temporal.api.failure.v1.Failure continued_failure = 12;If this workflow runs on a cron schedule, it will appear herecom.google.protobuf.ByteStringIf this workflow runs on a cron schedule, it will appear hereDuring a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior).During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior).During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanA boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and eager execution was accepted by the server.This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.com.google.protobuf.ByteStringThis is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.com.google.protobuf.DurationFor a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.com.google.protobuf.Duration.BuilderFor a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.com.google.protobuf.DurationOrBuilderFor a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule..temporal.api.common.v1.Header header = 25;.temporal.api.common.v1.Header header = 25;.temporal.api.common.v1.Header header = 25;Identity of the client who requested this executioncom.google.protobuf.ByteStringIdentity of the client who requested this executionIf present, the new workflow begins with AutoUpgrade behavior.If present, the new workflow begins with AutoUpgrade behavior.If present, the new workflow begins with AutoUpgrade behavior.Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated.If present, the new workflow should start on this version with pinned base behavior.If present, the new workflow should start on this version with pinned base behavior.If present, the new workflow should start on this version with pinned base behavior..temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;int.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;getInput()SDK will deserialize this and provide it as arguments to the workflow functionSDK will deserialize this and provide it as arguments to the workflow functionSDK will deserialize this and provide it as arguments to the workflow function.temporal.api.common.v1.Payloads last_completion_result = 13;.temporal.api.common.v1.Payloads last_completion_result = 13;.temporal.api.common.v1.Payloads last_completion_result = 13;getMemo().temporal.api.common.v1.Memo memo = 22;.temporal.api.common.v1.Memo memo = 22;.temporal.api.common.v1.Memo memo = 22;This is the run id when the WorkflowExecutionStarted event was written.com.google.protobuf.ByteStringThis is the run id when the WorkflowExecutionStarted event was written.longEventID of the child execution initiated event in parent workflowlongVersion of the child execution initiated event in parent workflow It should be used together with parent_initiated_event_id to identify a child initiated event for global namespaceDeprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated.Contains information about parent workflow execution that initiated the child workflow these attributes belong to.Contains information about parent workflow execution that initiated the child workflow these attributes belong to.Contains information about parent workflow execution that initiated the child workflow these attributes belong to.If this workflow is a child, the namespace our parent lives in.com.google.protobuf.ByteStringIf this workflow is a child, the namespace our parent lives in.string parent_workflow_namespace_id = 27;com.google.protobuf.ByteStringstring parent_workflow_namespace_id = 27;.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;Priority metadataPriority metadataPriority metadata.temporal.api.common.v1.RetryPolicy retry_policy = 17;.temporal.api.common.v1.RetryPolicy retry_policy = 17;.temporal.api.common.v1.RetryPolicy retry_policy = 17;Contains information about the root workflow execution.Contains information about the root workflow execution.Contains information about the root workflow execution..temporal.api.common.v1.SearchAttributes search_attributes = 23;.temporal.api.common.v1.SearchAttributes search_attributes = 23;.temporal.api.common.v1.SearchAttributes search_attributes = 23;Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.source_version_stamp is deprecated.Deprecated.Deprecated..temporal.api.taskqueue.v1.TaskQueue task_queue = 5;.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;Initial time-skipping configuration for this workflow execution, recorded at start time.Initial time-skipping configuration for this workflow execution, recorded at start time.Initial time-skipping configuration for this workflow execution, recorded at start time.The time-skipping state propagated from a previous run of this workflow.The time-skipping state propagated from a previous run of this workflow.The time-skipping state propagated from a previous run of this workflow.Versioning override applied to this workflow when it was started.Versioning override applied to this workflow when it was started.Versioning override applied to this workflow when it was started.com.google.protobuf.TimestampThe absolute time at which the workflow will be timed out.com.google.protobuf.Timestamp.BuilderThe absolute time at which the workflow will be timed out.com.google.protobuf.TimestampOrBuilderThe absolute time at which the workflow will be timed out.com.google.protobuf.DurationTotal workflow execution timeout including retries and continue as new.com.google.protobuf.Duration.BuilderTotal workflow execution timeout including retries and continue as new.com.google.protobuf.DurationOrBuilderTotal workflow execution timeout including retries and continue as new.This field is new in 1.21.com.google.protobuf.ByteStringThis field is new in 1.21.com.google.protobuf.DurationTimeout of a single workflow run.com.google.protobuf.Duration.BuilderTimeout of a single workflow run.com.google.protobuf.DurationOrBuilderTimeout of a single workflow run.com.google.protobuf.DurationTimeout of a single workflow task.com.google.protobuf.Duration.BuilderTimeout of a single workflow task.com.google.protobuf.DurationOrBuilderTimeout of a single workflow task..temporal.api.common.v1.WorkflowType workflow_type = 1;.temporal.api.common.v1.WorkflowType workflow_type = 1;.temporal.api.common.v1.WorkflowType workflow_type = 1;boolean.temporal.api.failure.v1.Failure continued_failure = 12;booleanDuring a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior).booleanFor a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.boolean.temporal.api.common.v1.Header header = 25;booleanIf present, the new workflow begins with AutoUpgrade behavior.booleanIf present, the new workflow should start on this version with pinned base behavior.booleanhasInput()SDK will deserialize this and provide it as arguments to the workflow functionboolean.temporal.api.common.v1.Payloads last_completion_result = 13;booleanhasMemo().temporal.api.common.v1.Memo memo = 22;booleanContains information about parent workflow execution that initiated the child workflow these attributes belong to.boolean.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;booleanPriority metadataboolean.temporal.api.common.v1.RetryPolicy retry_policy = 17;booleanContains information about the root workflow execution.boolean.temporal.api.common.v1.SearchAttributes search_attributes = 23;booleanDeprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.source_version_stamp is deprecated.boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;booleanInitial time-skipping configuration for this workflow execution, recorded at start time.booleanThe time-skipping state propagated from a previous run of this workflow.booleanVersioning override applied to this workflow when it was started.booleanThe absolute time at which the workflow will be timed out.booleanTotal workflow execution timeout including retries and continue as new.booleanTimeout of a single workflow run.booleanTimeout of a single workflow task.boolean.temporal.api.common.v1.WorkflowType workflow_type = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeContinuedFailure(Failure value) .temporal.api.failure.v1.Failure continued_failure = 12;During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior).mergeFirstWorkflowTaskBackoff(com.google.protobuf.Duration value) For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeader(Header value) .temporal.api.common.v1.Header header = 25;If present, the new workflow begins with AutoUpgrade behavior.If present, the new workflow should start on this version with pinned base behavior.mergeInput(Payloads value) SDK will deserialize this and provide it as arguments to the workflow function.temporal.api.common.v1.Payloads last_completion_result = 13;.temporal.api.common.v1.Memo memo = 22;Contains information about parent workflow execution that initiated the child workflow these attributes belong to..temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;mergePriority(Priority value) Priority metadatamergeRetryPolicy(RetryPolicy value) .temporal.api.common.v1.RetryPolicy retry_policy = 17;Contains information about the root workflow execution..temporal.api.common.v1.SearchAttributes search_attributes = 23;Deprecated.mergeTaskQueue(TaskQueue value) .temporal.api.taskqueue.v1.TaskQueue task_queue = 5;Initial time-skipping configuration for this workflow execution, recorded at start time.The time-skipping state propagated from a previous run of this workflow.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Versioning override applied to this workflow when it was started.mergeWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp value) The absolute time at which the workflow will be timed out.mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value) Total workflow execution timeout including retries and continue as new.mergeWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.mergeWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.mergeWorkflowType(WorkflowType value) .temporal.api.common.v1.WorkflowType workflow_type = 1;removeCompletionCallbacks(int index) Completion callbacks attached when this workflow was started.setAttempt(int value) Starting at 1, the number of times we have tried to execute this workflowsetCompletionCallbacks(int index, Callback value) Completion callbacks attached when this workflow was started.setCompletionCallbacks(int index, Callback.Builder builderForValue) Completion callbacks attached when this workflow was started.setContinuedExecutionRunId(String value) Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow.setContinuedExecutionRunIdBytes(com.google.protobuf.ByteString value) Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow.setContinuedFailure(Failure value) .temporal.api.failure.v1.Failure continued_failure = 12;setContinuedFailure(Failure.Builder builderForValue) .temporal.api.failure.v1.Failure continued_failure = 12;setCronSchedule(String value) If this workflow runs on a cron schedule, it will appear heresetCronScheduleBytes(com.google.protobuf.ByteString value) If this workflow runs on a cron schedule, it will appear hereDuring a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior).setDeclinedTargetVersionUpgrade(DeclinedTargetVersionUpgrade.Builder builderForValue) During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior).setEagerExecutionAccepted(boolean value) A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and eager execution was accepted by the server.setFirstExecutionRunId(String value) This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value) This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.setFirstWorkflowTaskBackoff(com.google.protobuf.Duration value) For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.setFirstWorkflowTaskBackoff(com.google.protobuf.Duration.Builder builderForValue) For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule..temporal.api.common.v1.Header header = 25;setHeader(Header.Builder builderForValue) .temporal.api.common.v1.Header header = 25;setIdentity(String value) Identity of the client who requested this executionsetIdentityBytes(com.google.protobuf.ByteString value) Identity of the client who requested this executionIf present, the new workflow begins with AutoUpgrade behavior.setInheritedAutoUpgradeInfo(InheritedAutoUpgradeInfo.Builder builderForValue) If present, the new workflow begins with AutoUpgrade behavior.setInheritedBuildId(String value) Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated.setInheritedBuildIdBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated.If present, the new workflow should start on this version with pinned base behavior.setInheritedPinnedVersion(WorkerDeploymentVersion.Builder builderForValue) If present, the new workflow should start on this version with pinned base behavior..temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;setInitiatorValue(int value) .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;SDK will deserialize this and provide it as arguments to the workflow functionsetInput(Payloads.Builder builderForValue) SDK will deserialize this and provide it as arguments to the workflow functionsetLastCompletionResult(Payloads value) .temporal.api.common.v1.Payloads last_completion_result = 13;setLastCompletionResult(Payloads.Builder builderForValue) .temporal.api.common.v1.Payloads last_completion_result = 13;.temporal.api.common.v1.Memo memo = 22;setMemo(Memo.Builder builderForValue) .temporal.api.common.v1.Memo memo = 22;setOriginalExecutionRunId(String value) This is the run id when the WorkflowExecutionStarted event was written.setOriginalExecutionRunIdBytes(com.google.protobuf.ByteString value) This is the run id when the WorkflowExecutionStarted event was written.setParentInitiatedEventId(long value) EventID of the child execution initiated event in parent workflowsetParentInitiatedEventVersion(long value) Version of the child execution initiated event in parent workflow It should be used together with parent_initiated_event_id to identify a child initiated event for global namespaceDeprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated.setParentPinnedWorkerDeploymentVersionBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated.Contains information about parent workflow execution that initiated the child workflow these attributes belong to.setParentWorkflowExecution(WorkflowExecution.Builder builderForValue) Contains information about parent workflow execution that initiated the child workflow these attributes belong to.setParentWorkflowNamespace(String value) If this workflow is a child, the namespace our parent lives in.setParentWorkflowNamespaceBytes(com.google.protobuf.ByteString value) If this workflow is a child, the namespace our parent lives in.string parent_workflow_namespace_id = 27;setParentWorkflowNamespaceIdBytes(com.google.protobuf.ByteString value) string parent_workflow_namespace_id = 27;.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;setPrevAutoResetPoints(ResetPoints.Builder builderForValue) .temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;setPriority(Priority value) Priority metadatasetPriority(Priority.Builder builderForValue) Priority metadatasetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryPolicy(RetryPolicy value) .temporal.api.common.v1.RetryPolicy retry_policy = 17;setRetryPolicy(RetryPolicy.Builder builderForValue) .temporal.api.common.v1.RetryPolicy retry_policy = 17;Contains information about the root workflow execution.setRootWorkflowExecution(WorkflowExecution.Builder builderForValue) Contains information about the root workflow execution..temporal.api.common.v1.SearchAttributes search_attributes = 23;setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 23;Deprecated.setSourceVersionStamp(WorkerVersionStamp.Builder builderForValue) Deprecated.setTaskQueue(TaskQueue value) .temporal.api.taskqueue.v1.TaskQueue task_queue = 5;setTaskQueue(TaskQueue.Builder builderForValue) .temporal.api.taskqueue.v1.TaskQueue task_queue = 5;Initial time-skipping configuration for this workflow execution, recorded at start time.setTimeSkippingConfig(TimeSkippingConfig.Builder builderForValue) Initial time-skipping configuration for this workflow execution, recorded at start time.The time-skipping state propagated from a previous run of this workflow.setTimeSkippingStatePropagation(TimeSkippingStatePropagation.Builder builderForValue) The time-skipping state propagated from a previous run of this workflow.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Versioning override applied to this workflow when it was started.setVersioningOverride(VersioningOverride.Builder builderForValue) Versioning override applied to this workflow when it was started.setWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp value) The absolute time at which the workflow will be timed out.setWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) The absolute time at which the workflow will be timed out.setWorkflowExecutionTimeout(com.google.protobuf.Duration value) Total workflow execution timeout including retries and continue as new.setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) Total workflow execution timeout including retries and continue as new.setWorkflowId(String value) This field is new in 1.21.setWorkflowIdBytes(com.google.protobuf.ByteString value) This field is new in 1.21.setWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow run.setWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow task.setWorkflowType(WorkflowType value) .temporal.api.common.v1.WorkflowType workflow_type = 1;setWorkflowType(WorkflowType.Builder builderForValue) .temporal.api.common.v1.WorkflowType workflow_type = 1;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<WorkflowExecutionStartedEventAttributes.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<WorkflowExecutionStartedEventAttributes.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<WorkflowExecutionStartedEventAttributes.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<WorkflowExecutionStartedEventAttributes.Builder>
-
setField
public WorkflowExecutionStartedEventAttributes.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<WorkflowExecutionStartedEventAttributes.Builder>
-
clearField
public WorkflowExecutionStartedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionStartedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionStartedEventAttributes.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<WorkflowExecutionStartedEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionStartedEventAttributes.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<WorkflowExecutionStartedEventAttributes.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionStartedEventAttributes.Builder mergeFrom(WorkflowExecutionStartedEventAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionStartedEventAttributes.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<WorkflowExecutionStartedEventAttributes.Builder>- Throws:
IOException
-
hasWorkflowType
public boolean hasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 1;- Specified by:
hasWorkflowTypein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 1;- Specified by:
getWorkflowTypein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The workflowType.
-
setWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 1; -
setWorkflowType
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowType(WorkflowType.Builder builderForValue) .temporal.api.common.v1.WorkflowType workflow_type = 1; -
mergeWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 1; -
clearWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 1; -
getWorkflowTypeBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 1; -
getWorkflowTypeOrBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 1;- Specified by:
getWorkflowTypeOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getParentWorkflowNamespace
If this workflow is a child, the namespace our parent lives in. SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
string parent_workflow_namespace = 2;- Specified by:
getParentWorkflowNamespacein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The parentWorkflowNamespace.
-
getParentWorkflowNamespaceBytes
public com.google.protobuf.ByteString getParentWorkflowNamespaceBytes()If this workflow is a child, the namespace our parent lives in. SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
string parent_workflow_namespace = 2;- Specified by:
getParentWorkflowNamespaceBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for parentWorkflowNamespace.
-
setParentWorkflowNamespace
If this workflow is a child, the namespace our parent lives in. SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
string parent_workflow_namespace = 2;- Parameters:
value- The parentWorkflowNamespace to set.- Returns:
- This builder for chaining.
-
clearParentWorkflowNamespace
If this workflow is a child, the namespace our parent lives in. SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
string parent_workflow_namespace = 2;- Returns:
- This builder for chaining.
-
setParentWorkflowNamespaceBytes
public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowNamespaceBytes(com.google.protobuf.ByteString value) If this workflow is a child, the namespace our parent lives in. SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
string parent_workflow_namespace = 2;- Parameters:
value- The bytes for parentWorkflowNamespace to set.- Returns:
- This builder for chaining.
-
getParentWorkflowNamespaceId
string parent_workflow_namespace_id = 27;- Specified by:
getParentWorkflowNamespaceIdin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The parentWorkflowNamespaceId.
-
getParentWorkflowNamespaceIdBytes
public com.google.protobuf.ByteString getParentWorkflowNamespaceIdBytes()string parent_workflow_namespace_id = 27;- Specified by:
getParentWorkflowNamespaceIdBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for parentWorkflowNamespaceId.
-
setParentWorkflowNamespaceId
string parent_workflow_namespace_id = 27;- Parameters:
value- The parentWorkflowNamespaceId to set.- Returns:
- This builder for chaining.
-
clearParentWorkflowNamespaceId
string parent_workflow_namespace_id = 27;- Returns:
- This builder for chaining.
-
setParentWorkflowNamespaceIdBytes
public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowNamespaceIdBytes(com.google.protobuf.ByteString value) string parent_workflow_namespace_id = 27;- Parameters:
value- The bytes for parentWorkflowNamespaceId to set.- Returns:
- This builder for chaining.
-
hasParentWorkflowExecution
public boolean hasParentWorkflowExecution()Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
.temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3;- Specified by:
hasParentWorkflowExecutionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the parentWorkflowExecution field is set.
-
getParentWorkflowExecution
Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
.temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3;- Specified by:
getParentWorkflowExecutionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The parentWorkflowExecution.
-
setParentWorkflowExecution
public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowExecution(WorkflowExecution value) Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
.temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3; -
setParentWorkflowExecution
public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowExecution(WorkflowExecution.Builder builderForValue) Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
.temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3; -
mergeParentWorkflowExecution
public WorkflowExecutionStartedEventAttributes.Builder mergeParentWorkflowExecution(WorkflowExecution value) Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
.temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3; -
clearParentWorkflowExecution
Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
.temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3; -
getParentWorkflowExecutionBuilder
Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
.temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3; -
getParentWorkflowExecutionOrBuilder
Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
.temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3;- Specified by:
getParentWorkflowExecutionOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getParentInitiatedEventId
public long getParentInitiatedEventId()EventID of the child execution initiated event in parent workflow
int64 parent_initiated_event_id = 4;- Specified by:
getParentInitiatedEventIdin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The parentInitiatedEventId.
-
setParentInitiatedEventId
EventID of the child execution initiated event in parent workflow
int64 parent_initiated_event_id = 4;- Parameters:
value- The parentInitiatedEventId to set.- Returns:
- This builder for chaining.
-
clearParentInitiatedEventId
EventID of the child execution initiated event in parent workflow
int64 parent_initiated_event_id = 4;- Returns:
- This builder for chaining.
-
hasTaskQueue
public boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 5;- Specified by:
hasTaskQueuein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;- Specified by:
getTaskQueuein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5; -
setTaskQueue
public WorkflowExecutionStartedEventAttributes.Builder setTaskQueue(TaskQueue.Builder builderForValue) .temporal.api.taskqueue.v1.TaskQueue task_queue = 5; -
mergeTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5; -
clearTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5; -
getTaskQueueBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5; -
getTaskQueueOrBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;- Specified by:
getTaskQueueOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasInput
public boolean hasInput()SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6;- Specified by:
hasInputin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6;- Specified by:
getInputin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The input.
-
setInput
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6; -
setInput
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6; -
mergeInput
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6; -
clearInput
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6; -
getInputBuilder
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6; -
getInputOrBuilder
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6;- Specified by:
getInputOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasWorkflowExecutionTimeout
public boolean hasWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7;- Specified by:
hasWorkflowExecutionTimeoutin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the workflowExecutionTimeout field is set.
-
getWorkflowExecutionTimeout
public com.google.protobuf.Duration getWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7;- Specified by:
getWorkflowExecutionTimeoutin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The workflowExecutionTimeout.
-
setWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration value) Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7; -
setWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7; -
mergeWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value) Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7; -
clearWorkflowExecutionTimeout
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7; -
getWorkflowExecutionTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowExecutionTimeoutBuilder()Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7; -
getWorkflowExecutionTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7;- Specified by:
getWorkflowExecutionTimeoutOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8;- Specified by:
hasWorkflowRunTimeoutin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the workflowRunTimeout field is set.
-
getWorkflowRunTimeout
public com.google.protobuf.Duration getWorkflowRunTimeout()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8;- Specified by:
getWorkflowRunTimeoutin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The workflowRunTimeout.
-
setWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8; -
setWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8; -
mergeWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8; -
clearWorkflowRunTimeout
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8; -
getWorkflowRunTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8; -
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8;- Specified by:
getWorkflowRunTimeoutOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;- Specified by:
hasWorkflowTaskTimeoutin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the workflowTaskTimeout field is set.
-
getWorkflowTaskTimeout
public com.google.protobuf.Duration getWorkflowTaskTimeout()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;- Specified by:
getWorkflowTaskTimeoutin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The workflowTaskTimeout.
-
setWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9; -
setWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9; -
mergeWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9; -
clearWorkflowTaskTimeout
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9; -
getWorkflowTaskTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowTaskTimeoutBuilder()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9; -
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;- Specified by:
getWorkflowTaskTimeoutOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getContinuedExecutionRunId
Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow.
string continued_execution_run_id = 10;- Specified by:
getContinuedExecutionRunIdin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The continuedExecutionRunId.
-
getContinuedExecutionRunIdBytes
public com.google.protobuf.ByteString getContinuedExecutionRunIdBytes()Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow.
string continued_execution_run_id = 10;- Specified by:
getContinuedExecutionRunIdBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for continuedExecutionRunId.
-
setContinuedExecutionRunId
Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow.
string continued_execution_run_id = 10;- Parameters:
value- The continuedExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearContinuedExecutionRunId
Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow.
string continued_execution_run_id = 10;- Returns:
- This builder for chaining.
-
setContinuedExecutionRunIdBytes
public WorkflowExecutionStartedEventAttributes.Builder setContinuedExecutionRunIdBytes(com.google.protobuf.ByteString value) Run id of the previous workflow which continued-as-new or retried or cron executed into this workflow.
string continued_execution_run_id = 10;- Parameters:
value- The bytes for continuedExecutionRunId to set.- Returns:
- This builder for chaining.
-
getInitiatorValue
public int getInitiatorValue().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;- Specified by:
getInitiatorValuein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The enum numeric value on the wire for initiator.
-
setInitiatorValue
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;- Parameters:
value- The enum numeric value on the wire for initiator to set.- Returns:
- This builder for chaining.
-
getInitiator
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;- Specified by:
getInitiatorin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The initiator.
-
setInitiator
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;- Parameters:
value- The initiator to set.- Returns:
- This builder for chaining.
-
clearInitiator
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;- Returns:
- This builder for chaining.
-
hasContinuedFailure
public boolean hasContinuedFailure().temporal.api.failure.v1.Failure continued_failure = 12;- Specified by:
hasContinuedFailurein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the continuedFailure field is set.
-
getContinuedFailure
.temporal.api.failure.v1.Failure continued_failure = 12;- Specified by:
getContinuedFailurein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The continuedFailure.
-
setContinuedFailure
.temporal.api.failure.v1.Failure continued_failure = 12; -
setContinuedFailure
public WorkflowExecutionStartedEventAttributes.Builder setContinuedFailure(Failure.Builder builderForValue) .temporal.api.failure.v1.Failure continued_failure = 12; -
mergeContinuedFailure
.temporal.api.failure.v1.Failure continued_failure = 12; -
clearContinuedFailure
.temporal.api.failure.v1.Failure continued_failure = 12; -
getContinuedFailureBuilder
.temporal.api.failure.v1.Failure continued_failure = 12; -
getContinuedFailureOrBuilder
.temporal.api.failure.v1.Failure continued_failure = 12;- Specified by:
getContinuedFailureOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasLastCompletionResult
public boolean hasLastCompletionResult().temporal.api.common.v1.Payloads last_completion_result = 13;- Specified by:
hasLastCompletionResultin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
.temporal.api.common.v1.Payloads last_completion_result = 13;- Specified by:
getLastCompletionResultin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The lastCompletionResult.
-
setLastCompletionResult
.temporal.api.common.v1.Payloads last_completion_result = 13; -
setLastCompletionResult
public WorkflowExecutionStartedEventAttributes.Builder setLastCompletionResult(Payloads.Builder builderForValue) .temporal.api.common.v1.Payloads last_completion_result = 13; -
mergeLastCompletionResult
.temporal.api.common.v1.Payloads last_completion_result = 13; -
clearLastCompletionResult
.temporal.api.common.v1.Payloads last_completion_result = 13; -
getLastCompletionResultBuilder
.temporal.api.common.v1.Payloads last_completion_result = 13; -
getLastCompletionResultOrBuilder
.temporal.api.common.v1.Payloads last_completion_result = 13;- Specified by:
getLastCompletionResultOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getOriginalExecutionRunId
This is the run id when the WorkflowExecutionStarted event was written. A workflow reset changes the execution run_id, but preserves this field.
string original_execution_run_id = 14;- Specified by:
getOriginalExecutionRunIdin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The originalExecutionRunId.
-
getOriginalExecutionRunIdBytes
public com.google.protobuf.ByteString getOriginalExecutionRunIdBytes()This is the run id when the WorkflowExecutionStarted event was written. A workflow reset changes the execution run_id, but preserves this field.
string original_execution_run_id = 14;- Specified by:
getOriginalExecutionRunIdBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for originalExecutionRunId.
-
setOriginalExecutionRunId
This is the run id when the WorkflowExecutionStarted event was written. A workflow reset changes the execution run_id, but preserves this field.
string original_execution_run_id = 14;- Parameters:
value- The originalExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearOriginalExecutionRunId
This is the run id when the WorkflowExecutionStarted event was written. A workflow reset changes the execution run_id, but preserves this field.
string original_execution_run_id = 14;- Returns:
- This builder for chaining.
-
setOriginalExecutionRunIdBytes
public WorkflowExecutionStartedEventAttributes.Builder setOriginalExecutionRunIdBytes(com.google.protobuf.ByteString value) This is the run id when the WorkflowExecutionStarted event was written. A workflow reset changes the execution run_id, but preserves this field.
string original_execution_run_id = 14;- Parameters:
value- The bytes for originalExecutionRunId to set.- Returns:
- This builder for chaining.
-
getIdentity
Identity of the client who requested this execution
string identity = 15;- Specified by:
getIdentityin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()Identity of the client who requested this execution
string identity = 15;- Specified by:
getIdentityBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
Identity of the client who requested this execution
string identity = 15;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
Identity of the client who requested this execution
string identity = 15;- Returns:
- This builder for chaining.
-
setIdentityBytes
public WorkflowExecutionStartedEventAttributes.Builder setIdentityBytes(com.google.protobuf.ByteString value) Identity of the client who requested this execution
string identity = 15;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getFirstExecutionRunId
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. Used to identify a chain.
string first_execution_run_id = 16;- Specified by:
getFirstExecutionRunIdin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The firstExecutionRunId.
-
getFirstExecutionRunIdBytes
public com.google.protobuf.ByteString getFirstExecutionRunIdBytes()This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. Used to identify a chain.
string first_execution_run_id = 16;- Specified by:
getFirstExecutionRunIdBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for firstExecutionRunId.
-
setFirstExecutionRunId
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. Used to identify a chain.
string first_execution_run_id = 16;- Parameters:
value- The firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearFirstExecutionRunId
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. Used to identify a chain.
string first_execution_run_id = 16;- Returns:
- This builder for chaining.
-
setFirstExecutionRunIdBytes
public WorkflowExecutionStartedEventAttributes.Builder setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value) This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. Used to identify a chain.
string first_execution_run_id = 16;- Parameters:
value- The bytes for firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
hasRetryPolicy
public boolean hasRetryPolicy().temporal.api.common.v1.RetryPolicy retry_policy = 17;- Specified by:
hasRetryPolicyin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
.temporal.api.common.v1.RetryPolicy retry_policy = 17;- Specified by:
getRetryPolicyin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
.temporal.api.common.v1.RetryPolicy retry_policy = 17; -
setRetryPolicy
public WorkflowExecutionStartedEventAttributes.Builder setRetryPolicy(RetryPolicy.Builder builderForValue) .temporal.api.common.v1.RetryPolicy retry_policy = 17; -
mergeRetryPolicy
.temporal.api.common.v1.RetryPolicy retry_policy = 17; -
clearRetryPolicy
.temporal.api.common.v1.RetryPolicy retry_policy = 17; -
getRetryPolicyBuilder
.temporal.api.common.v1.RetryPolicy retry_policy = 17; -
getRetryPolicyOrBuilder
.temporal.api.common.v1.RetryPolicy retry_policy = 17;- Specified by:
getRetryPolicyOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getAttempt
public int getAttempt()Starting at 1, the number of times we have tried to execute this workflow
int32 attempt = 18;- Specified by:
getAttemptin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The attempt.
-
setAttempt
Starting at 1, the number of times we have tried to execute this workflow
int32 attempt = 18;- Parameters:
value- The attempt to set.- Returns:
- This builder for chaining.
-
clearAttempt
Starting at 1, the number of times we have tried to execute this workflow
int32 attempt = 18;- Returns:
- This builder for chaining.
-
hasWorkflowExecutionExpirationTime
public boolean hasWorkflowExecutionExpirationTime()The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19;- Specified by:
hasWorkflowExecutionExpirationTimein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the workflowExecutionExpirationTime field is set.
-
getWorkflowExecutionExpirationTime
public com.google.protobuf.Timestamp getWorkflowExecutionExpirationTime()The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19;- Specified by:
getWorkflowExecutionExpirationTimein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The workflowExecutionExpirationTime.
-
setWorkflowExecutionExpirationTime
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp value) The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19; -
setWorkflowExecutionExpirationTime
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19; -
mergeWorkflowExecutionExpirationTime
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp value) The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19; -
clearWorkflowExecutionExpirationTime
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19; -
getWorkflowExecutionExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getWorkflowExecutionExpirationTimeBuilder()The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19; -
getWorkflowExecutionExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getWorkflowExecutionExpirationTimeOrBuilder()The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19;- Specified by:
getWorkflowExecutionExpirationTimeOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getCronSchedule
If this workflow runs on a cron schedule, it will appear here
string cron_schedule = 20;- Specified by:
getCronSchedulein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The cronSchedule.
-
getCronScheduleBytes
public com.google.protobuf.ByteString getCronScheduleBytes()If this workflow runs on a cron schedule, it will appear here
string cron_schedule = 20;- Specified by:
getCronScheduleBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for cronSchedule.
-
setCronSchedule
If this workflow runs on a cron schedule, it will appear here
string cron_schedule = 20;- Parameters:
value- The cronSchedule to set.- Returns:
- This builder for chaining.
-
clearCronSchedule
If this workflow runs on a cron schedule, it will appear here
string cron_schedule = 20;- Returns:
- This builder for chaining.
-
setCronScheduleBytes
public WorkflowExecutionStartedEventAttributes.Builder setCronScheduleBytes(com.google.protobuf.ByteString value) If this workflow runs on a cron schedule, it will appear here
string cron_schedule = 20;- Parameters:
value- The bytes for cronSchedule to set.- Returns:
- This builder for chaining.
-
hasFirstWorkflowTaskBackoff
public boolean hasFirstWorkflowTaskBackoff()For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21;- Specified by:
hasFirstWorkflowTaskBackoffin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the firstWorkflowTaskBackoff field is set.
-
getFirstWorkflowTaskBackoff
public com.google.protobuf.Duration getFirstWorkflowTaskBackoff()For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21;- Specified by:
getFirstWorkflowTaskBackoffin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The firstWorkflowTaskBackoff.
-
setFirstWorkflowTaskBackoff
public WorkflowExecutionStartedEventAttributes.Builder setFirstWorkflowTaskBackoff(com.google.protobuf.Duration value) For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21; -
setFirstWorkflowTaskBackoff
public WorkflowExecutionStartedEventAttributes.Builder setFirstWorkflowTaskBackoff(com.google.protobuf.Duration.Builder builderForValue) For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21; -
mergeFirstWorkflowTaskBackoff
public WorkflowExecutionStartedEventAttributes.Builder mergeFirstWorkflowTaskBackoff(com.google.protobuf.Duration value) For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21; -
clearFirstWorkflowTaskBackoff
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21; -
getFirstWorkflowTaskBackoffBuilder
public com.google.protobuf.Duration.Builder getFirstWorkflowTaskBackoffBuilder()For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21; -
getFirstWorkflowTaskBackoffOrBuilder
public com.google.protobuf.DurationOrBuilder getFirstWorkflowTaskBackoffOrBuilder()For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21;- Specified by:
getFirstWorkflowTaskBackoffOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasMemo
public boolean hasMemo().temporal.api.common.v1.Memo memo = 22;- Specified by:
hasMemoin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
.temporal.api.common.v1.Memo memo = 22;- Specified by:
getMemoin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The memo.
-
setMemo
.temporal.api.common.v1.Memo memo = 22; -
setMemo
.temporal.api.common.v1.Memo memo = 22; -
mergeMemo
.temporal.api.common.v1.Memo memo = 22; -
clearMemo
.temporal.api.common.v1.Memo memo = 22; -
getMemoBuilder
.temporal.api.common.v1.Memo memo = 22; -
getMemoOrBuilder
.temporal.api.common.v1.Memo memo = 22;- Specified by:
getMemoOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 23;- Specified by:
hasSearchAttributesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 23;- Specified by:
getSearchAttributesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 23; -
setSearchAttributes
public WorkflowExecutionStartedEventAttributes.Builder setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 23; -
mergeSearchAttributes
public WorkflowExecutionStartedEventAttributes.Builder mergeSearchAttributes(SearchAttributes value) .temporal.api.common.v1.SearchAttributes search_attributes = 23; -
clearSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 23; -
getSearchAttributesBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 23; -
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 23;- Specified by:
getSearchAttributesOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasPrevAutoResetPoints
public boolean hasPrevAutoResetPoints().temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;- Specified by:
hasPrevAutoResetPointsin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the prevAutoResetPoints field is set.
-
getPrevAutoResetPoints
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;- Specified by:
getPrevAutoResetPointsin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The prevAutoResetPoints.
-
setPrevAutoResetPoints
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24; -
setPrevAutoResetPoints
public WorkflowExecutionStartedEventAttributes.Builder setPrevAutoResetPoints(ResetPoints.Builder builderForValue) .temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24; -
mergePrevAutoResetPoints
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24; -
clearPrevAutoResetPoints
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24; -
getPrevAutoResetPointsBuilder
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24; -
getPrevAutoResetPointsOrBuilder
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;- Specified by:
getPrevAutoResetPointsOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasHeader
public boolean hasHeader().temporal.api.common.v1.Header header = 25;- Specified by:
hasHeaderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
.temporal.api.common.v1.Header header = 25;- Specified by:
getHeaderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The header.
-
setHeader
.temporal.api.common.v1.Header header = 25; -
setHeader
.temporal.api.common.v1.Header header = 25; -
mergeHeader
.temporal.api.common.v1.Header header = 25; -
clearHeader
.temporal.api.common.v1.Header header = 25; -
getHeaderBuilder
.temporal.api.common.v1.Header header = 25; -
getHeaderOrBuilder
.temporal.api.common.v1.Header header = 25;- Specified by:
getHeaderOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getParentInitiatedEventVersion
public long getParentInitiatedEventVersion()Version of the child execution initiated event in parent workflow It should be used together with parent_initiated_event_id to identify a child initiated event for global namespace
int64 parent_initiated_event_version = 26;- Specified by:
getParentInitiatedEventVersionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The parentInitiatedEventVersion.
-
setParentInitiatedEventVersion
Version of the child execution initiated event in parent workflow It should be used together with parent_initiated_event_id to identify a child initiated event for global namespace
int64 parent_initiated_event_version = 26;- Parameters:
value- The parentInitiatedEventVersion to set.- Returns:
- This builder for chaining.
-
clearParentInitiatedEventVersion
Version of the child execution initiated event in parent workflow It should be used together with parent_initiated_event_id to identify a child initiated event for global namespace
int64 parent_initiated_event_version = 26;- Returns:
- This builder for chaining.
-
getWorkflowId
This field is new in 1.21.
string workflow_id = 28;- Specified by:
getWorkflowIdin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()This field is new in 1.21.
string workflow_id = 28;- Specified by:
getWorkflowIdBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for workflowId.
-
setWorkflowId
This field is new in 1.21.
string workflow_id = 28;- Parameters:
value- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
This field is new in 1.21.
string workflow_id = 28;- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value) This field is new in 1.21.
string workflow_id = 28;- Parameters:
value- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
hasSourceVersionStamp
Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.source_version_stamp is deprecated. See temporal/api/history/v1/message.proto;l=87If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true];- Specified by:
hasSourceVersionStampin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the sourceVersionStamp field is set.
-
getSourceVersionStamp
Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.source_version_stamp is deprecated. See temporal/api/history/v1/message.proto;l=87If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true];- Specified by:
getSourceVersionStampin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The sourceVersionStamp.
-
setSourceVersionStamp
@Deprecated public WorkflowExecutionStartedEventAttributes.Builder setSourceVersionStamp(WorkerVersionStamp value) Deprecated.If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true]; -
setSourceVersionStamp
@Deprecated public WorkflowExecutionStartedEventAttributes.Builder setSourceVersionStamp(WorkerVersionStamp.Builder builderForValue) Deprecated.If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true]; -
mergeSourceVersionStamp
@Deprecated public WorkflowExecutionStartedEventAttributes.Builder mergeSourceVersionStamp(WorkerVersionStamp value) Deprecated.If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true]; -
clearSourceVersionStamp
Deprecated.If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true]; -
getSourceVersionStampBuilder
Deprecated.If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true]; -
getSourceVersionStampOrBuilder
Deprecated.If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true];- Specified by:
getSourceVersionStampOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getCompletionCallbacksList
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;- Specified by:
getCompletionCallbacksListin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getCompletionCallbacksCount
public int getCompletionCallbacksCount()Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;- Specified by:
getCompletionCallbacksCountin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getCompletionCallbacks
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;- Specified by:
getCompletionCallbacksin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
setCompletionCallbacks
public WorkflowExecutionStartedEventAttributes.Builder setCompletionCallbacks(int index, Callback value) Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
setCompletionCallbacks
public WorkflowExecutionStartedEventAttributes.Builder setCompletionCallbacks(int index, Callback.Builder builderForValue) Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
addCompletionCallbacks
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
addCompletionCallbacks
public WorkflowExecutionStartedEventAttributes.Builder addCompletionCallbacks(int index, Callback value) Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
addCompletionCallbacks
public WorkflowExecutionStartedEventAttributes.Builder addCompletionCallbacks(Callback.Builder builderForValue) Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
addCompletionCallbacks
public WorkflowExecutionStartedEventAttributes.Builder addCompletionCallbacks(int index, Callback.Builder builderForValue) Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
addAllCompletionCallbacks
public WorkflowExecutionStartedEventAttributes.Builder addAllCompletionCallbacks(Iterable<? extends Callback> values) Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
clearCompletionCallbacks
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
removeCompletionCallbacks
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
getCompletionCallbacksBuilder
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
getCompletionCallbacksOrBuilder
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;- Specified by:
getCompletionCallbacksOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getCompletionCallbacksOrBuilderList
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;- Specified by:
getCompletionCallbacksOrBuilderListin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
addCompletionCallbacksBuilder
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
addCompletionCallbacksBuilder
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
getCompletionCallbacksBuilderList
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30; -
hasRootWorkflowExecution
public boolean hasRootWorkflowExecution()Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. When the workflow is its own root workflow, then root_workflow_execution is nil. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;- Specified by:
hasRootWorkflowExecutionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the rootWorkflowExecution field is set.
-
getRootWorkflowExecution
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. When the workflow is its own root workflow, then root_workflow_execution is nil. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;- Specified by:
getRootWorkflowExecutionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The rootWorkflowExecution.
-
setRootWorkflowExecution
public WorkflowExecutionStartedEventAttributes.Builder setRootWorkflowExecution(WorkflowExecution value) Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. When the workflow is its own root workflow, then root_workflow_execution is nil. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31; -
setRootWorkflowExecution
public WorkflowExecutionStartedEventAttributes.Builder setRootWorkflowExecution(WorkflowExecution.Builder builderForValue) Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. When the workflow is its own root workflow, then root_workflow_execution is nil. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31; -
mergeRootWorkflowExecution
public WorkflowExecutionStartedEventAttributes.Builder mergeRootWorkflowExecution(WorkflowExecution value) Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. When the workflow is its own root workflow, then root_workflow_execution is nil. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31; -
clearRootWorkflowExecution
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. When the workflow is its own root workflow, then root_workflow_execution is nil. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31; -
getRootWorkflowExecutionBuilder
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. When the workflow is its own root workflow, then root_workflow_execution is nil. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31; -
getRootWorkflowExecutionOrBuilder
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. When the workflow is its own root workflow, then root_workflow_execution is nil. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. - W1 has root_workflow_execution set to nil. - W2 and W3 have root_workflow_execution set to W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;- Specified by:
getRootWorkflowExecutionOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getInheritedBuildId
Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated. See temporal/api/history/v1/message.proto;l=120When present, this execution is assigned to the build ID of its parent or previous execution. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string inherited_build_id = 32 [deprecated = true];- Specified by:
getInheritedBuildIdin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The inheritedBuildId.
-
getInheritedBuildIdBytes
Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated. See temporal/api/history/v1/message.proto;l=120When present, this execution is assigned to the build ID of its parent or previous execution. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string inherited_build_id = 32 [deprecated = true];- Specified by:
getInheritedBuildIdBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for inheritedBuildId.
-
setInheritedBuildId
@Deprecated public WorkflowExecutionStartedEventAttributes.Builder setInheritedBuildId(String value) Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated. See temporal/api/history/v1/message.proto;l=120When present, this execution is assigned to the build ID of its parent or previous execution. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string inherited_build_id = 32 [deprecated = true];- Parameters:
value- The inheritedBuildId to set.- Returns:
- This builder for chaining.
-
clearInheritedBuildId
Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated. See temporal/api/history/v1/message.proto;l=120When present, this execution is assigned to the build ID of its parent or previous execution. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string inherited_build_id = 32 [deprecated = true];- Returns:
- This builder for chaining.
-
setInheritedBuildIdBytes
@Deprecated public WorkflowExecutionStartedEventAttributes.Builder setInheritedBuildIdBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated. See temporal/api/history/v1/message.proto;l=120When present, this execution is assigned to the build ID of its parent or previous execution. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
string inherited_build_id = 32 [deprecated = true];- Parameters:
value- The bytes for inheritedBuildId to set.- Returns:
- This builder for chaining.
-
hasVersioningOverride
public boolean hasVersioningOverride()Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 33;- Specified by:
hasVersioningOverridein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the versioningOverride field is set.
-
getVersioningOverride
Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 33;- Specified by:
getVersioningOverridein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The versioningOverride.
-
setVersioningOverride
public WorkflowExecutionStartedEventAttributes.Builder setVersioningOverride(VersioningOverride value) Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 33; -
setVersioningOverride
public WorkflowExecutionStartedEventAttributes.Builder setVersioningOverride(VersioningOverride.Builder builderForValue) Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 33; -
mergeVersioningOverride
public WorkflowExecutionStartedEventAttributes.Builder mergeVersioningOverride(VersioningOverride value) Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 33; -
clearVersioningOverride
Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 33; -
getVersioningOverrideBuilder
Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 33; -
getVersioningOverrideOrBuilder
Versioning override applied to this workflow when it was started. Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 33;- Specified by:
getVersioningOverrideOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getParentPinnedWorkerDeploymentVersion
Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=131When present, it means this is a child workflow of a parent that is Pinned to this Worker Deployment Version. In this case, child workflow will start as Pinned to this Version instead of starting on the Current Version of its Task Queue. This is set only if the child workflow is starting on a Task Queue belonging to the same Worker Deployment Version. Deprecated. Use `parent_versioning_info`.
string parent_pinned_worker_deployment_version = 34 [deprecated = true];- Specified by:
getParentPinnedWorkerDeploymentVersionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The parentPinnedWorkerDeploymentVersion.
-
getParentPinnedWorkerDeploymentVersionBytes
Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=131When present, it means this is a child workflow of a parent that is Pinned to this Worker Deployment Version. In this case, child workflow will start as Pinned to this Version instead of starting on the Current Version of its Task Queue. This is set only if the child workflow is starting on a Task Queue belonging to the same Worker Deployment Version. Deprecated. Use `parent_versioning_info`.
string parent_pinned_worker_deployment_version = 34 [deprecated = true];- Specified by:
getParentPinnedWorkerDeploymentVersionBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for parentPinnedWorkerDeploymentVersion.
-
setParentPinnedWorkerDeploymentVersion
@Deprecated public WorkflowExecutionStartedEventAttributes.Builder setParentPinnedWorkerDeploymentVersion(String value) Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=131When present, it means this is a child workflow of a parent that is Pinned to this Worker Deployment Version. In this case, child workflow will start as Pinned to this Version instead of starting on the Current Version of its Task Queue. This is set only if the child workflow is starting on a Task Queue belonging to the same Worker Deployment Version. Deprecated. Use `parent_versioning_info`.
string parent_pinned_worker_deployment_version = 34 [deprecated = true];- Parameters:
value- The parentPinnedWorkerDeploymentVersion to set.- Returns:
- This builder for chaining.
-
clearParentPinnedWorkerDeploymentVersion
@Deprecated public WorkflowExecutionStartedEventAttributes.Builder clearParentPinnedWorkerDeploymentVersion()Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=131When present, it means this is a child workflow of a parent that is Pinned to this Worker Deployment Version. In this case, child workflow will start as Pinned to this Version instead of starting on the Current Version of its Task Queue. This is set only if the child workflow is starting on a Task Queue belonging to the same Worker Deployment Version. Deprecated. Use `parent_versioning_info`.
string parent_pinned_worker_deployment_version = 34 [deprecated = true];- Returns:
- This builder for chaining.
-
setParentPinnedWorkerDeploymentVersionBytes
@Deprecated public WorkflowExecutionStartedEventAttributes.Builder setParentPinnedWorkerDeploymentVersionBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=131When present, it means this is a child workflow of a parent that is Pinned to this Worker Deployment Version. In this case, child workflow will start as Pinned to this Version instead of starting on the Current Version of its Task Queue. This is set only if the child workflow is starting on a Task Queue belonging to the same Worker Deployment Version. Deprecated. Use `parent_versioning_info`.
string parent_pinned_worker_deployment_version = 34 [deprecated = true];- Parameters:
value- The bytes for parentPinnedWorkerDeploymentVersion to set.- Returns:
- This builder for chaining.
-
hasPriority
public boolean hasPriority()Priority metadata
.temporal.api.common.v1.Priority priority = 35;- Specified by:
hasPriorityin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 35;- Specified by:
getPriorityin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The priority.
-
setPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 35; -
setPriority
public WorkflowExecutionStartedEventAttributes.Builder setPriority(Priority.Builder builderForValue) Priority metadata
.temporal.api.common.v1.Priority priority = 35; -
mergePriority
Priority metadata
.temporal.api.common.v1.Priority priority = 35; -
clearPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 35; -
getPriorityBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 35; -
getPriorityOrBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 35;- Specified by:
getPriorityOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasInheritedPinnedVersion
public boolean hasInheritedPinnedVersion()If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the new run's Task Queue belongs to that version. A new run initiated by workflow Cron will never inherit. A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). Pinned override is inherited if Task Queue of new run is compatible with the override version. Override is inherited separately and takes precedence over inherited base version. Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions.
.temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37;- Specified by:
hasInheritedPinnedVersionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the inheritedPinnedVersion field is set.
-
getInheritedPinnedVersion
If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the new run's Task Queue belongs to that version. A new run initiated by workflow Cron will never inherit. A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). Pinned override is inherited if Task Queue of new run is compatible with the override version. Override is inherited separately and takes precedence over inherited base version. Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions.
.temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37;- Specified by:
getInheritedPinnedVersionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The inheritedPinnedVersion.
-
setInheritedPinnedVersion
public WorkflowExecutionStartedEventAttributes.Builder setInheritedPinnedVersion(WorkerDeploymentVersion value) If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the new run's Task Queue belongs to that version. A new run initiated by workflow Cron will never inherit. A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). Pinned override is inherited if Task Queue of new run is compatible with the override version. Override is inherited separately and takes precedence over inherited base version. Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions.
.temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37; -
setInheritedPinnedVersion
public WorkflowExecutionStartedEventAttributes.Builder setInheritedPinnedVersion(WorkerDeploymentVersion.Builder builderForValue) If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the new run's Task Queue belongs to that version. A new run initiated by workflow Cron will never inherit. A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). Pinned override is inherited if Task Queue of new run is compatible with the override version. Override is inherited separately and takes precedence over inherited base version. Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions.
.temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37; -
mergeInheritedPinnedVersion
public WorkflowExecutionStartedEventAttributes.Builder mergeInheritedPinnedVersion(WorkerDeploymentVersion value) If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the new run's Task Queue belongs to that version. A new run initiated by workflow Cron will never inherit. A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). Pinned override is inherited if Task Queue of new run is compatible with the override version. Override is inherited separately and takes precedence over inherited base version. Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions.
.temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37; -
clearInheritedPinnedVersion
If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the new run's Task Queue belongs to that version. A new run initiated by workflow Cron will never inherit. A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). Pinned override is inherited if Task Queue of new run is compatible with the override version. Override is inherited separately and takes precedence over inherited base version. Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions.
.temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37; -
getInheritedPinnedVersionBuilder
If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the new run's Task Queue belongs to that version. A new run initiated by workflow Cron will never inherit. A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). Pinned override is inherited if Task Queue of new run is compatible with the override version. Override is inherited separately and takes precedence over inherited base version. Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions.
.temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37; -
getInheritedPinnedVersionOrBuilder
If present, the new workflow should start on this version with pinned base behavior. Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version. A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the new run's Task Queue belongs to that version. A new run initiated by workflow Cron will never inherit. A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version). Pinned override is inherited if Task Queue of new run is compatible with the override version. Override is inherited separately and takes precedence over inherited base version. Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions.
.temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37;- Specified by:
getInheritedPinnedVersionOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasInheritedAutoUpgradeInfo
public boolean hasInheritedAutoUpgradeInfo()If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the first workflow task, this field is set to the deployment version on which the parent/ previous run was operating. This inheritance only happens when the task queues belong to the same deployment version. The first workflow task will then be dispatched to either this inherited deployment version, or the current deployment version of the task queue's Deployment. After the first workflow task, the effective behavior depends on worker-sent values in subsequent workflow tasks. Inheritance rules: - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version - Cron: never inherits - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same deployment as the parent/previous run) Additional notes: - This field is mutually exclusive with `inherited_pinned_version`. - `versioning_override`, if present, overrides this field during routing decisions. - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness..temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39;- Specified by:
hasInheritedAutoUpgradeInfoin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the inheritedAutoUpgradeInfo field is set.
-
getInheritedAutoUpgradeInfo
If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the first workflow task, this field is set to the deployment version on which the parent/ previous run was operating. This inheritance only happens when the task queues belong to the same deployment version. The first workflow task will then be dispatched to either this inherited deployment version, or the current deployment version of the task queue's Deployment. After the first workflow task, the effective behavior depends on worker-sent values in subsequent workflow tasks. Inheritance rules: - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version - Cron: never inherits - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same deployment as the parent/previous run) Additional notes: - This field is mutually exclusive with `inherited_pinned_version`. - `versioning_override`, if present, overrides this field during routing decisions. - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness..temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39;- Specified by:
getInheritedAutoUpgradeInfoin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The inheritedAutoUpgradeInfo.
-
setInheritedAutoUpgradeInfo
public WorkflowExecutionStartedEventAttributes.Builder setInheritedAutoUpgradeInfo(InheritedAutoUpgradeInfo value) If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the first workflow task, this field is set to the deployment version on which the parent/ previous run was operating. This inheritance only happens when the task queues belong to the same deployment version. The first workflow task will then be dispatched to either this inherited deployment version, or the current deployment version of the task queue's Deployment. After the first workflow task, the effective behavior depends on worker-sent values in subsequent workflow tasks. Inheritance rules: - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version - Cron: never inherits - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same deployment as the parent/previous run) Additional notes: - This field is mutually exclusive with `inherited_pinned_version`. - `versioning_override`, if present, overrides this field during routing decisions. - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness..temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39; -
setInheritedAutoUpgradeInfo
public WorkflowExecutionStartedEventAttributes.Builder setInheritedAutoUpgradeInfo(InheritedAutoUpgradeInfo.Builder builderForValue) If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the first workflow task, this field is set to the deployment version on which the parent/ previous run was operating. This inheritance only happens when the task queues belong to the same deployment version. The first workflow task will then be dispatched to either this inherited deployment version, or the current deployment version of the task queue's Deployment. After the first workflow task, the effective behavior depends on worker-sent values in subsequent workflow tasks. Inheritance rules: - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version - Cron: never inherits - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same deployment as the parent/previous run) Additional notes: - This field is mutually exclusive with `inherited_pinned_version`. - `versioning_override`, if present, overrides this field during routing decisions. - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness..temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39; -
mergeInheritedAutoUpgradeInfo
public WorkflowExecutionStartedEventAttributes.Builder mergeInheritedAutoUpgradeInfo(InheritedAutoUpgradeInfo value) If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the first workflow task, this field is set to the deployment version on which the parent/ previous run was operating. This inheritance only happens when the task queues belong to the same deployment version. The first workflow task will then be dispatched to either this inherited deployment version, or the current deployment version of the task queue's Deployment. After the first workflow task, the effective behavior depends on worker-sent values in subsequent workflow tasks. Inheritance rules: - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version - Cron: never inherits - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same deployment as the parent/previous run) Additional notes: - This field is mutually exclusive with `inherited_pinned_version`. - `versioning_override`, if present, overrides this field during routing decisions. - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness..temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39; -
clearInheritedAutoUpgradeInfo
If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the first workflow task, this field is set to the deployment version on which the parent/ previous run was operating. This inheritance only happens when the task queues belong to the same deployment version. The first workflow task will then be dispatched to either this inherited deployment version, or the current deployment version of the task queue's Deployment. After the first workflow task, the effective behavior depends on worker-sent values in subsequent workflow tasks. Inheritance rules: - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version - Cron: never inherits - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same deployment as the parent/previous run) Additional notes: - This field is mutually exclusive with `inherited_pinned_version`. - `versioning_override`, if present, overrides this field during routing decisions. - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness..temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39; -
getInheritedAutoUpgradeInfoBuilder
If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the first workflow task, this field is set to the deployment version on which the parent/ previous run was operating. This inheritance only happens when the task queues belong to the same deployment version. The first workflow task will then be dispatched to either this inherited deployment version, or the current deployment version of the task queue's Deployment. After the first workflow task, the effective behavior depends on worker-sent values in subsequent workflow tasks. Inheritance rules: - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version - Cron: never inherits - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same deployment as the parent/previous run) Additional notes: - This field is mutually exclusive with `inherited_pinned_version`. - `versioning_override`, if present, overrides this field during routing decisions. - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness..temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39; -
getInheritedAutoUpgradeInfoOrBuilder
If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the first workflow task, this field is set to the deployment version on which the parent/ previous run was operating. This inheritance only happens when the task queues belong to the same deployment version. The first workflow task will then be dispatched to either this inherited deployment version, or the current deployment version of the task queue's Deployment. After the first workflow task, the effective behavior depends on worker-sent values in subsequent workflow tasks. Inheritance rules: - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version - Cron: never inherits - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same deployment as the parent/previous run) Additional notes: - This field is mutually exclusive with `inherited_pinned_version`. - `versioning_override`, if present, overrides this field during routing decisions. - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness..temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39;- Specified by:
getInheritedAutoUpgradeInfoOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getEagerExecutionAccepted
public boolean getEagerExecutionAccepted()A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and eager execution was accepted by the server. Only populated by server with version >= 1.29.0.
bool eager_execution_accepted = 38;- Specified by:
getEagerExecutionAcceptedin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The eagerExecutionAccepted.
-
setEagerExecutionAccepted
A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and eager execution was accepted by the server. Only populated by server with version >= 1.29.0.
bool eager_execution_accepted = 38;- Parameters:
value- The eagerExecutionAccepted to set.- Returns:
- This builder for chaining.
-
clearEagerExecutionAccepted
A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and eager execution was accepted by the server. Only populated by server with version >= 1.29.0.
bool eager_execution_accepted = 38;- Returns:
- This builder for chaining.
-
hasDeclinedTargetVersionUpgrade
public boolean hasDeclinedTargetVersionUpgrade()During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records the target version that was declined. This is a wrapper message to distinguish "never declined" (nil wrapper) from "declined an unversioned target" (non-nil wrapper with nil deployment_version). Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs.
.temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40;- Specified by:
hasDeclinedTargetVersionUpgradein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the declinedTargetVersionUpgrade field is set.
-
getDeclinedTargetVersionUpgrade
During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records the target version that was declined. This is a wrapper message to distinguish "never declined" (nil wrapper) from "declined an unversioned target" (non-nil wrapper with nil deployment_version). Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs.
.temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40;- Specified by:
getDeclinedTargetVersionUpgradein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The declinedTargetVersionUpgrade.
-
setDeclinedTargetVersionUpgrade
public WorkflowExecutionStartedEventAttributes.Builder setDeclinedTargetVersionUpgrade(DeclinedTargetVersionUpgrade value) During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records the target version that was declined. This is a wrapper message to distinguish "never declined" (nil wrapper) from "declined an unversioned target" (non-nil wrapper with nil deployment_version). Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs.
.temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40; -
setDeclinedTargetVersionUpgrade
public WorkflowExecutionStartedEventAttributes.Builder setDeclinedTargetVersionUpgrade(DeclinedTargetVersionUpgrade.Builder builderForValue) During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records the target version that was declined. This is a wrapper message to distinguish "never declined" (nil wrapper) from "declined an unversioned target" (non-nil wrapper with nil deployment_version). Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs.
.temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40; -
mergeDeclinedTargetVersionUpgrade
public WorkflowExecutionStartedEventAttributes.Builder mergeDeclinedTargetVersionUpgrade(DeclinedTargetVersionUpgrade value) During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records the target version that was declined. This is a wrapper message to distinguish "never declined" (nil wrapper) from "declined an unversioned target" (non-nil wrapper with nil deployment_version). Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs.
.temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40; -
clearDeclinedTargetVersionUpgrade
During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records the target version that was declined. This is a wrapper message to distinguish "never declined" (nil wrapper) from "declined an unversioned target" (non-nil wrapper with nil deployment_version). Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs.
.temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40; -
getDeclinedTargetVersionUpgradeBuilder
During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records the target version that was declined. This is a wrapper message to distinguish "never declined" (nil wrapper) from "declined an unversioned target" (non-nil wrapper with nil deployment_version). Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs.
.temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40; -
getDeclinedTargetVersionUpgradeOrBuilder
During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records the target version that was declined. This is a wrapper message to distinguish "never declined" (nil wrapper) from "declined an unversioned target" (non-nil wrapper with nil deployment_version). Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs.
.temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40;- Specified by:
getDeclinedTargetVersionUpgradeOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasTimeSkippingConfig
public boolean hasTimeSkippingConfig()Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41;- Specified by:
hasTimeSkippingConfigin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the timeSkippingConfig field is set.
-
getTimeSkippingConfig
Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41;- Specified by:
getTimeSkippingConfigin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The timeSkippingConfig.
-
setTimeSkippingConfig
public WorkflowExecutionStartedEventAttributes.Builder setTimeSkippingConfig(TimeSkippingConfig value) Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41; -
setTimeSkippingConfig
public WorkflowExecutionStartedEventAttributes.Builder setTimeSkippingConfig(TimeSkippingConfig.Builder builderForValue) Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41; -
mergeTimeSkippingConfig
public WorkflowExecutionStartedEventAttributes.Builder mergeTimeSkippingConfig(TimeSkippingConfig value) Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41; -
clearTimeSkippingConfig
Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41; -
getTimeSkippingConfigBuilder
Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41; -
getTimeSkippingConfigOrBuilder
Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
.temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41;- Specified by:
getTimeSkippingConfigOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasTimeSkippingStatePropagation
public boolean hasTimeSkippingStatePropagation()The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run.
.temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43;- Specified by:
hasTimeSkippingStatePropagationin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the timeSkippingStatePropagation field is set.
-
getTimeSkippingStatePropagation
The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run.
.temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43;- Specified by:
getTimeSkippingStatePropagationin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The timeSkippingStatePropagation.
-
setTimeSkippingStatePropagation
public WorkflowExecutionStartedEventAttributes.Builder setTimeSkippingStatePropagation(TimeSkippingStatePropagation value) The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run.
.temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43; -
setTimeSkippingStatePropagation
public WorkflowExecutionStartedEventAttributes.Builder setTimeSkippingStatePropagation(TimeSkippingStatePropagation.Builder builderForValue) The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run.
.temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43; -
mergeTimeSkippingStatePropagation
public WorkflowExecutionStartedEventAttributes.Builder mergeTimeSkippingStatePropagation(TimeSkippingStatePropagation value) The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run.
.temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43; -
clearTimeSkippingStatePropagation
The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run.
.temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43; -
getTimeSkippingStatePropagationBuilder
The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run.
.temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43; -
getTimeSkippingStatePropagationOrBuilder
The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run.
.temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43;- Specified by:
getTimeSkippingStatePropagationOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
setUnknownFields
public final WorkflowExecutionStartedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionStartedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-