Package io.temporal.api.history.v1
Class WorkflowExecutionStartedEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.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 history
Protobuf typetemporal.api.history.v1.WorkflowExecutionStartedEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionStartedEventAttributes.BuilderaddAllCompletionCallbacks(java.lang.Iterable<? extends Callback> values)Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuilderaddCompletionCallbacks(int index, Callback value)Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuilderaddCompletionCallbacks(int index, Callback.Builder builderForValue)Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuilderaddCompletionCallbacks(Callback value)Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuilderaddCompletionCallbacks(Callback.Builder builderForValue)Completion callbacks attached when this workflow was started.Callback.BuilderaddCompletionCallbacksBuilder()Completion callbacks attached when this workflow was started.Callback.BuilderaddCompletionCallbacksBuilder(int index)Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionStartedEventAttributesbuild()WorkflowExecutionStartedEventAttributesbuildPartial()WorkflowExecutionStartedEventAttributes.Builderclear()WorkflowExecutionStartedEventAttributes.BuilderclearAttempt()Starting at 1, the number of times we have tried to execute this workflowWorkflowExecutionStartedEventAttributes.BuilderclearCompletionCallbacks()Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuilderclearContinuedExecutionRunId()Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.WorkflowExecutionStartedEventAttributes.BuilderclearContinuedFailure().temporal.api.failure.v1.Failure continued_failure = 12;WorkflowExecutionStartedEventAttributes.BuilderclearCronSchedule()If this workflow runs on a cron schedule, it will appear hereWorkflowExecutionStartedEventAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkflowExecutionStartedEventAttributes.BuilderclearFirstExecutionRunId()This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.WorkflowExecutionStartedEventAttributes.BuilderclearFirstWorkflowTaskBackoff()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.WorkflowExecutionStartedEventAttributes.BuilderclearHeader().temporal.api.common.v1.Header header = 25;WorkflowExecutionStartedEventAttributes.BuilderclearIdentity()Identity of the client who requested this executionWorkflowExecutionStartedEventAttributes.BuilderclearInheritedBuildId()When present, this execution is assigned to the build ID of its parent or previous execution.WorkflowExecutionStartedEventAttributes.BuilderclearInitiator().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;WorkflowExecutionStartedEventAttributes.BuilderclearInput()SDK will deserialize this and provide it as arguments to the workflow functionWorkflowExecutionStartedEventAttributes.BuilderclearLastCompletionResult().temporal.api.common.v1.Payloads last_completion_result = 13;WorkflowExecutionStartedEventAttributes.BuilderclearMemo().temporal.api.common.v1.Memo memo = 22;WorkflowExecutionStartedEventAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkflowExecutionStartedEventAttributes.BuilderclearOriginalExecutionRunId()This is the run id when the WorkflowExecutionStarted event was written.WorkflowExecutionStartedEventAttributes.BuilderclearParentInitiatedEventId()EventID of the child execution initiated event in parent workflowWorkflowExecutionStartedEventAttributes.BuilderclearParentInitiatedEventVersion()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 namespaceWorkflowExecutionStartedEventAttributes.BuilderclearParentWorkflowExecution()Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionStartedEventAttributes.BuilderclearParentWorkflowNamespace()If this workflow is a child, the namespace our parent lives in.WorkflowExecutionStartedEventAttributes.BuilderclearParentWorkflowNamespaceId()string parent_workflow_namespace_id = 27;WorkflowExecutionStartedEventAttributes.BuilderclearPrevAutoResetPoints().temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;WorkflowExecutionStartedEventAttributes.BuilderclearRetryPolicy().temporal.api.common.v1.RetryPolicy retry_policy = 17;WorkflowExecutionStartedEventAttributes.BuilderclearRootWorkflowExecution()Contains information about the root workflow execution.WorkflowExecutionStartedEventAttributes.BuilderclearSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 23;WorkflowExecutionStartedEventAttributes.BuilderclearSourceVersionStamp()If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.WorkflowExecutionStartedEventAttributes.BuilderclearTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 5;WorkflowExecutionStartedEventAttributes.BuilderclearWorkflowExecutionExpirationTime()The absolute time at which the workflow will be timed out.WorkflowExecutionStartedEventAttributes.BuilderclearWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.WorkflowExecutionStartedEventAttributes.BuilderclearWorkflowId()This field is new in 1.21.WorkflowExecutionStartedEventAttributes.BuilderclearWorkflowRunTimeout()Timeout of a single workflow run.WorkflowExecutionStartedEventAttributes.BuilderclearWorkflowTaskTimeout()Timeout of a single workflow task.WorkflowExecutionStartedEventAttributes.BuilderclearWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 1;WorkflowExecutionStartedEventAttributes.Builderclone()intgetAttempt()Starting at 1, the number of times we have tried to execute this workflowCallbackgetCompletionCallbacks(int index)Completion callbacks attached when this workflow was started.Callback.BuildergetCompletionCallbacksBuilder(int index)Completion callbacks attached when this workflow was started.java.util.List<Callback.Builder>getCompletionCallbacksBuilderList()Completion callbacks attached when this workflow was started.intgetCompletionCallbacksCount()Completion callbacks attached when this workflow was started.java.util.List<Callback>getCompletionCallbacksList()Completion callbacks attached when this workflow was started.CallbackOrBuildergetCompletionCallbacksOrBuilder(int index)Completion callbacks attached when this workflow was started.java.util.List<? extends CallbackOrBuilder>getCompletionCallbacksOrBuilderList()Completion callbacks attached when this workflow was started.java.lang.StringgetContinuedExecutionRunId()Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.com.google.protobuf.ByteStringgetContinuedExecutionRunIdBytes()Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.FailuregetContinuedFailure().temporal.api.failure.v1.Failure continued_failure = 12;Failure.BuildergetContinuedFailureBuilder().temporal.api.failure.v1.Failure continued_failure = 12;FailureOrBuildergetContinuedFailureOrBuilder().temporal.api.failure.v1.Failure continued_failure = 12;java.lang.StringgetCronSchedule()If this workflow runs on a cron schedule, it will appear herecom.google.protobuf.ByteStringgetCronScheduleBytes()If this workflow runs on a cron schedule, it will appear hereWorkflowExecutionStartedEventAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetFirstExecutionRunId()This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.com.google.protobuf.ByteStringgetFirstExecutionRunIdBytes()This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.DurationgetFirstWorkflowTaskBackoff()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.Duration.BuildergetFirstWorkflowTaskBackoffBuilder()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.DurationOrBuildergetFirstWorkflowTaskBackoffOrBuilder()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.HeadergetHeader().temporal.api.common.v1.Header header = 25;Header.BuildergetHeaderBuilder().temporal.api.common.v1.Header header = 25;HeaderOrBuildergetHeaderOrBuilder().temporal.api.common.v1.Header header = 25;java.lang.StringgetIdentity()Identity of the client who requested this executioncom.google.protobuf.ByteStringgetIdentityBytes()Identity of the client who requested this executionjava.lang.StringgetInheritedBuildId()When present, this execution is assigned to the build ID of its parent or previous execution.com.google.protobuf.ByteStringgetInheritedBuildIdBytes()When present, this execution is assigned to the build ID of its parent or previous execution.ContinueAsNewInitiatorgetInitiator().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;intgetInitiatorValue().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;PayloadsgetInput()SDK will deserialize this and provide it as arguments to the workflow functionPayloads.BuildergetInputBuilder()SDK will deserialize this and provide it as arguments to the workflow functionPayloadsOrBuildergetInputOrBuilder()SDK will deserialize this and provide it as arguments to the workflow functionPayloadsgetLastCompletionResult().temporal.api.common.v1.Payloads last_completion_result = 13;Payloads.BuildergetLastCompletionResultBuilder().temporal.api.common.v1.Payloads last_completion_result = 13;PayloadsOrBuildergetLastCompletionResultOrBuilder().temporal.api.common.v1.Payloads last_completion_result = 13;MemogetMemo().temporal.api.common.v1.Memo memo = 22;Memo.BuildergetMemoBuilder().temporal.api.common.v1.Memo memo = 22;MemoOrBuildergetMemoOrBuilder().temporal.api.common.v1.Memo memo = 22;java.lang.StringgetOriginalExecutionRunId()This is the run id when the WorkflowExecutionStarted event was written.com.google.protobuf.ByteStringgetOriginalExecutionRunIdBytes()This is the run id when the WorkflowExecutionStarted event was written.longgetParentInitiatedEventId()EventID of the child execution initiated event in parent workflowlonggetParentInitiatedEventVersion()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 namespaceWorkflowExecutiongetParentWorkflowExecution()Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecution.BuildergetParentWorkflowExecutionBuilder()Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionOrBuildergetParentWorkflowExecutionOrBuilder()Contains information about parent workflow execution that initiated the child workflow these attributes belong to.java.lang.StringgetParentWorkflowNamespace()If this workflow is a child, the namespace our parent lives in.com.google.protobuf.ByteStringgetParentWorkflowNamespaceBytes()If this workflow is a child, the namespace our parent lives in.java.lang.StringgetParentWorkflowNamespaceId()string parent_workflow_namespace_id = 27;com.google.protobuf.ByteStringgetParentWorkflowNamespaceIdBytes()string parent_workflow_namespace_id = 27;ResetPointsgetPrevAutoResetPoints().temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;ResetPoints.BuildergetPrevAutoResetPointsBuilder().temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;ResetPointsOrBuildergetPrevAutoResetPointsOrBuilder().temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;RetryPolicygetRetryPolicy().temporal.api.common.v1.RetryPolicy retry_policy = 17;RetryPolicy.BuildergetRetryPolicyBuilder().temporal.api.common.v1.RetryPolicy retry_policy = 17;RetryPolicyOrBuildergetRetryPolicyOrBuilder().temporal.api.common.v1.RetryPolicy retry_policy = 17;WorkflowExecutiongetRootWorkflowExecution()Contains information about the root workflow execution.WorkflowExecution.BuildergetRootWorkflowExecutionBuilder()Contains information about the root workflow execution.WorkflowExecutionOrBuildergetRootWorkflowExecutionOrBuilder()Contains information about the root workflow execution.SearchAttributesgetSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 23;SearchAttributes.BuildergetSearchAttributesBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 23;SearchAttributesOrBuildergetSearchAttributesOrBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 23;WorkerVersionStampgetSourceVersionStamp()If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.WorkerVersionStamp.BuildergetSourceVersionStampBuilder()If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.WorkerVersionStampOrBuildergetSourceVersionStampOrBuilder()If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.TaskQueuegetTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 5;TaskQueue.BuildergetTaskQueueBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 5;TaskQueueOrBuildergetTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 5;TimestampgetWorkflowExecutionExpirationTime()The absolute time at which the workflow will be timed out.Timestamp.BuildergetWorkflowExecutionExpirationTimeBuilder()The absolute time at which the workflow will be timed out.TimestampOrBuildergetWorkflowExecutionExpirationTimeOrBuilder()The absolute time at which the workflow will be timed out.DurationgetWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.Duration.BuildergetWorkflowExecutionTimeoutBuilder()Total workflow execution timeout including retries and continue as new.DurationOrBuildergetWorkflowExecutionTimeoutOrBuilder()Total workflow execution timeout including retries and continue as new.java.lang.StringgetWorkflowId()This field is new in 1.21.com.google.protobuf.ByteStringgetWorkflowIdBytes()This field is new in 1.21.DurationgetWorkflowRunTimeout()Timeout of a single workflow run.Duration.BuildergetWorkflowRunTimeoutBuilder()Timeout of a single workflow run.DurationOrBuildergetWorkflowRunTimeoutOrBuilder()Timeout of a single workflow run.DurationgetWorkflowTaskTimeout()Timeout of a single workflow task.Duration.BuildergetWorkflowTaskTimeoutBuilder()Timeout of a single workflow task.DurationOrBuildergetWorkflowTaskTimeoutOrBuilder()Timeout of a single workflow task.WorkflowTypegetWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 1;WorkflowType.BuildergetWorkflowTypeBuilder().temporal.api.common.v1.WorkflowType workflow_type = 1;WorkflowTypeOrBuildergetWorkflowTypeOrBuilder().temporal.api.common.v1.WorkflowType workflow_type = 1;booleanhasContinuedFailure().temporal.api.failure.v1.Failure continued_failure = 12;booleanhasFirstWorkflowTaskBackoff()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.booleanhasHeader().temporal.api.common.v1.Header header = 25;booleanhasInput()SDK will deserialize this and provide it as arguments to the workflow functionbooleanhasLastCompletionResult().temporal.api.common.v1.Payloads last_completion_result = 13;booleanhasMemo().temporal.api.common.v1.Memo memo = 22;booleanhasParentWorkflowExecution()Contains information about parent workflow execution that initiated the child workflow these attributes belong to.booleanhasPrevAutoResetPoints().temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;booleanhasRetryPolicy().temporal.api.common.v1.RetryPolicy retry_policy = 17;booleanhasRootWorkflowExecution()Contains information about the root workflow execution.booleanhasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 23;booleanhasSourceVersionStamp()If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.booleanhasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 5;booleanhasWorkflowExecutionExpirationTime()The absolute time at which the workflow will be timed out.booleanhasWorkflowExecutionTimeout()Total workflow execution timeout including retries and continue as new.booleanhasWorkflowRunTimeout()Timeout of a single workflow run.booleanhasWorkflowTaskTimeout()Timeout of a single workflow task.booleanhasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkflowExecutionStartedEventAttributes.BuildermergeContinuedFailure(Failure value).temporal.api.failure.v1.Failure continued_failure = 12;WorkflowExecutionStartedEventAttributes.BuildermergeFirstWorkflowTaskBackoff(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.WorkflowExecutionStartedEventAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkflowExecutionStartedEventAttributes.BuildermergeFrom(com.google.protobuf.Message other)WorkflowExecutionStartedEventAttributes.BuildermergeFrom(WorkflowExecutionStartedEventAttributes other)WorkflowExecutionStartedEventAttributes.BuildermergeHeader(Header value).temporal.api.common.v1.Header header = 25;WorkflowExecutionStartedEventAttributes.BuildermergeInput(Payloads value)SDK will deserialize this and provide it as arguments to the workflow functionWorkflowExecutionStartedEventAttributes.BuildermergeLastCompletionResult(Payloads value).temporal.api.common.v1.Payloads last_completion_result = 13;WorkflowExecutionStartedEventAttributes.BuildermergeMemo(Memo value).temporal.api.common.v1.Memo memo = 22;WorkflowExecutionStartedEventAttributes.BuildermergeParentWorkflowExecution(WorkflowExecution value)Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionStartedEventAttributes.BuildermergePrevAutoResetPoints(ResetPoints value).temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;WorkflowExecutionStartedEventAttributes.BuildermergeRetryPolicy(RetryPolicy value).temporal.api.common.v1.RetryPolicy retry_policy = 17;WorkflowExecutionStartedEventAttributes.BuildermergeRootWorkflowExecution(WorkflowExecution value)Contains information about the root workflow execution.WorkflowExecutionStartedEventAttributes.BuildermergeSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 23;WorkflowExecutionStartedEventAttributes.BuildermergeSourceVersionStamp(WorkerVersionStamp value)If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.WorkflowExecutionStartedEventAttributes.BuildermergeTaskQueue(TaskQueue value).temporal.api.taskqueue.v1.TaskQueue task_queue = 5;WorkflowExecutionStartedEventAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionStartedEventAttributes.BuildermergeWorkflowExecutionExpirationTime(Timestamp value)The absolute time at which the workflow will be timed out.WorkflowExecutionStartedEventAttributes.BuildermergeWorkflowExecutionTimeout(Duration value)Total workflow execution timeout including retries and continue as new.WorkflowExecutionStartedEventAttributes.BuildermergeWorkflowRunTimeout(Duration value)Timeout of a single workflow run.WorkflowExecutionStartedEventAttributes.BuildermergeWorkflowTaskTimeout(Duration value)Timeout of a single workflow task.WorkflowExecutionStartedEventAttributes.BuildermergeWorkflowType(WorkflowType value).temporal.api.common.v1.WorkflowType workflow_type = 1;WorkflowExecutionStartedEventAttributes.BuilderremoveCompletionCallbacks(int index)Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuildersetAttempt(int value)Starting at 1, the number of times we have tried to execute this workflowWorkflowExecutionStartedEventAttributes.BuildersetCompletionCallbacks(int index, Callback value)Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuildersetCompletionCallbacks(int index, Callback.Builder builderForValue)Completion callbacks attached when this workflow was started.WorkflowExecutionStartedEventAttributes.BuildersetContinuedExecutionRunId(java.lang.String value)Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.WorkflowExecutionStartedEventAttributes.BuildersetContinuedExecutionRunIdBytes(com.google.protobuf.ByteString value)Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.WorkflowExecutionStartedEventAttributes.BuildersetContinuedFailure(Failure value).temporal.api.failure.v1.Failure continued_failure = 12;WorkflowExecutionStartedEventAttributes.BuildersetContinuedFailure(Failure.Builder builderForValue).temporal.api.failure.v1.Failure continued_failure = 12;WorkflowExecutionStartedEventAttributes.BuildersetCronSchedule(java.lang.String value)If this workflow runs on a cron schedule, it will appear hereWorkflowExecutionStartedEventAttributes.BuildersetCronScheduleBytes(com.google.protobuf.ByteString value)If this workflow runs on a cron schedule, it will appear hereWorkflowExecutionStartedEventAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionStartedEventAttributes.BuildersetFirstExecutionRunId(java.lang.String value)This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.WorkflowExecutionStartedEventAttributes.BuildersetFirstExecutionRunIdBytes(com.google.protobuf.ByteString value)This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.WorkflowExecutionStartedEventAttributes.BuildersetFirstWorkflowTaskBackoff(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.WorkflowExecutionStartedEventAttributes.BuildersetFirstWorkflowTaskBackoff(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.WorkflowExecutionStartedEventAttributes.BuildersetHeader(Header value).temporal.api.common.v1.Header header = 25;WorkflowExecutionStartedEventAttributes.BuildersetHeader(Header.Builder builderForValue).temporal.api.common.v1.Header header = 25;WorkflowExecutionStartedEventAttributes.BuildersetIdentity(java.lang.String value)Identity of the client who requested this executionWorkflowExecutionStartedEventAttributes.BuildersetIdentityBytes(com.google.protobuf.ByteString value)Identity of the client who requested this executionWorkflowExecutionStartedEventAttributes.BuildersetInheritedBuildId(java.lang.String value)When present, this execution is assigned to the build ID of its parent or previous execution.WorkflowExecutionStartedEventAttributes.BuildersetInheritedBuildIdBytes(com.google.protobuf.ByteString value)When present, this execution is assigned to the build ID of its parent or previous execution.WorkflowExecutionStartedEventAttributes.BuildersetInitiator(ContinueAsNewInitiator value).temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;WorkflowExecutionStartedEventAttributes.BuildersetInitiatorValue(int value).temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;WorkflowExecutionStartedEventAttributes.BuildersetInput(Payloads value)SDK will deserialize this and provide it as arguments to the workflow functionWorkflowExecutionStartedEventAttributes.BuildersetInput(Payloads.Builder builderForValue)SDK will deserialize this and provide it as arguments to the workflow functionWorkflowExecutionStartedEventAttributes.BuildersetLastCompletionResult(Payloads value).temporal.api.common.v1.Payloads last_completion_result = 13;WorkflowExecutionStartedEventAttributes.BuildersetLastCompletionResult(Payloads.Builder builderForValue).temporal.api.common.v1.Payloads last_completion_result = 13;WorkflowExecutionStartedEventAttributes.BuildersetMemo(Memo value).temporal.api.common.v1.Memo memo = 22;WorkflowExecutionStartedEventAttributes.BuildersetMemo(Memo.Builder builderForValue).temporal.api.common.v1.Memo memo = 22;WorkflowExecutionStartedEventAttributes.BuildersetOriginalExecutionRunId(java.lang.String value)This is the run id when the WorkflowExecutionStarted event was written.WorkflowExecutionStartedEventAttributes.BuildersetOriginalExecutionRunIdBytes(com.google.protobuf.ByteString value)This is the run id when the WorkflowExecutionStarted event was written.WorkflowExecutionStartedEventAttributes.BuildersetParentInitiatedEventId(long value)EventID of the child execution initiated event in parent workflowWorkflowExecutionStartedEventAttributes.BuildersetParentInitiatedEventVersion(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 namespaceWorkflowExecutionStartedEventAttributes.BuildersetParentWorkflowExecution(WorkflowExecution value)Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionStartedEventAttributes.BuildersetParentWorkflowExecution(WorkflowExecution.Builder builderForValue)Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionStartedEventAttributes.BuildersetParentWorkflowNamespace(java.lang.String value)If this workflow is a child, the namespace our parent lives in.WorkflowExecutionStartedEventAttributes.BuildersetParentWorkflowNamespaceBytes(com.google.protobuf.ByteString value)If this workflow is a child, the namespace our parent lives in.WorkflowExecutionStartedEventAttributes.BuildersetParentWorkflowNamespaceId(java.lang.String value)string parent_workflow_namespace_id = 27;WorkflowExecutionStartedEventAttributes.BuildersetParentWorkflowNamespaceIdBytes(com.google.protobuf.ByteString value)string parent_workflow_namespace_id = 27;WorkflowExecutionStartedEventAttributes.BuildersetPrevAutoResetPoints(ResetPoints value).temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;WorkflowExecutionStartedEventAttributes.BuildersetPrevAutoResetPoints(ResetPoints.Builder builderForValue).temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;WorkflowExecutionStartedEventAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkflowExecutionStartedEventAttributes.BuildersetRetryPolicy(RetryPolicy value).temporal.api.common.v1.RetryPolicy retry_policy = 17;WorkflowExecutionStartedEventAttributes.BuildersetRetryPolicy(RetryPolicy.Builder builderForValue).temporal.api.common.v1.RetryPolicy retry_policy = 17;WorkflowExecutionStartedEventAttributes.BuildersetRootWorkflowExecution(WorkflowExecution value)Contains information about the root workflow execution.WorkflowExecutionStartedEventAttributes.BuildersetRootWorkflowExecution(WorkflowExecution.Builder builderForValue)Contains information about the root workflow execution.WorkflowExecutionStartedEventAttributes.BuildersetSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 23;WorkflowExecutionStartedEventAttributes.BuildersetSearchAttributes(SearchAttributes.Builder builderForValue).temporal.api.common.v1.SearchAttributes search_attributes = 23;WorkflowExecutionStartedEventAttributes.BuildersetSourceVersionStamp(WorkerVersionStamp value)If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.WorkflowExecutionStartedEventAttributes.BuildersetSourceVersionStamp(WorkerVersionStamp.Builder builderForValue)If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.WorkflowExecutionStartedEventAttributes.BuildersetTaskQueue(TaskQueue value).temporal.api.taskqueue.v1.TaskQueue task_queue = 5;WorkflowExecutionStartedEventAttributes.BuildersetTaskQueue(TaskQueue.Builder builderForValue).temporal.api.taskqueue.v1.TaskQueue task_queue = 5;WorkflowExecutionStartedEventAttributes.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionStartedEventAttributes.BuildersetWorkflowExecutionExpirationTime(Timestamp value)The absolute time at which the workflow will be timed out.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowExecutionExpirationTime(Timestamp.Builder builderForValue)The absolute time at which the workflow will be timed out.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowExecutionTimeout(Duration value)Total workflow execution timeout including retries and continue as new.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowExecutionTimeout(Duration.Builder builderForValue)Total workflow execution timeout including retries and continue as new.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowId(java.lang.String value)This field is new in 1.21.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowIdBytes(com.google.protobuf.ByteString value)This field is new in 1.21.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowRunTimeout(Duration value)Timeout of a single workflow run.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowRunTimeout(Duration.Builder builderForValue)Timeout of a single workflow run.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowTaskTimeout(Duration value)Timeout of a single workflow task.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowTaskTimeout(Duration.Builder builderForValue)Timeout of a single workflow task.WorkflowExecutionStartedEventAttributes.BuildersetWorkflowType(WorkflowType value).temporal.api.common.v1.WorkflowType workflow_type = 1;WorkflowExecutionStartedEventAttributes.BuildersetWorkflowType(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
clear
public 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
public WorkflowExecutionStartedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionStartedEventAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionStartedEventAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionStartedEventAttributes.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionStartedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- 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 java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionStartedEventAttributes.Builder>- Throws:
java.io.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
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 1;- Specified by:
getWorkflowTypein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The workflowType.
-
setWorkflowType
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowType(WorkflowType value)
.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
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 1;
-
clearWorkflowType
public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 1;
-
getWorkflowTypeBuilder
public WorkflowType.Builder getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 1;
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 1;- Specified by:
getWorkflowTypeOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getParentWorkflowNamespace
public java.lang.String 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
public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowNamespace(java.lang.String 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 parentWorkflowNamespace to set.- Returns:
- This builder for chaining.
-
clearParentWorkflowNamespace
public WorkflowExecutionStartedEventAttributes.Builder 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
public java.lang.String 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
public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowNamespaceId(java.lang.String value)
string parent_workflow_namespace_id = 27;- Parameters:
value- The parentWorkflowNamespaceId to set.- Returns:
- This builder for chaining.
-
clearParentWorkflowNamespaceId
public WorkflowExecutionStartedEventAttributes.Builder 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
public WorkflowExecution 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
public WorkflowExecutionStartedEventAttributes.Builder 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
public WorkflowExecution.Builder 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
public WorkflowExecutionOrBuilder 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
public WorkflowExecutionStartedEventAttributes.Builder setParentInitiatedEventId(long value)
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
public WorkflowExecutionStartedEventAttributes.Builder 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
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;- Specified by:
getTaskQueuein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
public WorkflowExecutionStartedEventAttributes.Builder setTaskQueue(TaskQueue value)
.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
public WorkflowExecutionStartedEventAttributes.Builder mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
-
clearTaskQueue
public WorkflowExecutionStartedEventAttributes.Builder clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
-
getTaskQueueBuilder
public TaskQueue.Builder getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder 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
public Payloads 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
public WorkflowExecutionStartedEventAttributes.Builder setInput(Payloads value)
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6;
-
setInput
public WorkflowExecutionStartedEventAttributes.Builder setInput(Payloads.Builder builderForValue)
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6;
-
mergeInput
public WorkflowExecutionStartedEventAttributes.Builder mergeInput(Payloads value)
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6;
-
clearInput
public WorkflowExecutionStartedEventAttributes.Builder clearInput()
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6;
-
getInputBuilder
public Payloads.Builder getInputBuilder()
SDK will deserialize this and provide it as arguments to the workflow function
.temporal.api.common.v1.Payloads input = 6;
-
getInputOrBuilder
public PayloadsOrBuilder 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 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(Duration value)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7;
-
setWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionTimeout(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(Duration value)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7;
-
clearWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7;
-
getWorkflowExecutionTimeoutBuilder
public Duration.Builder getWorkflowExecutionTimeoutBuilder()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7;
-
getWorkflowExecutionTimeoutOrBuilder
public 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 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(Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8;
-
setWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowRunTimeout(Duration.Builder builderForValue)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8;
-
mergeWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowRunTimeout(Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8;
-
clearWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8;
-
getWorkflowRunTimeoutBuilder
public Duration.Builder getWorkflowRunTimeoutBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8;
-
getWorkflowRunTimeoutOrBuilder
public 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 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(Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;
-
setWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowTaskTimeout(Duration.Builder builderForValue)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;
-
mergeWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowTaskTimeout(Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;
-
clearWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;
-
getWorkflowTaskTimeoutBuilder
public Duration.Builder getWorkflowTaskTimeoutBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;
-
getWorkflowTaskTimeoutOrBuilder
public DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9;- Specified by:
getWorkflowTaskTimeoutOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getContinuedExecutionRunId
public java.lang.String getContinuedExecutionRunId()
Run id of the previous workflow which continued-as-new or retired 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 retired or cron executed into this workflow.
string continued_execution_run_id = 10;- Specified by:
getContinuedExecutionRunIdBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for continuedExecutionRunId.
-
setContinuedExecutionRunId
public WorkflowExecutionStartedEventAttributes.Builder setContinuedExecutionRunId(java.lang.String value)
Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.
string continued_execution_run_id = 10;- Parameters:
value- The continuedExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearContinuedExecutionRunId
public WorkflowExecutionStartedEventAttributes.Builder clearContinuedExecutionRunId()
Run id of the previous workflow which continued-as-new or retired 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 retired 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
public WorkflowExecutionStartedEventAttributes.Builder setInitiatorValue(int value)
.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
public ContinueAsNewInitiator getInitiator()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;- Specified by:
getInitiatorin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The initiator.
-
setInitiator
public WorkflowExecutionStartedEventAttributes.Builder setInitiator(ContinueAsNewInitiator value)
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;- Parameters:
value- The initiator to set.- Returns:
- This builder for chaining.
-
clearInitiator
public WorkflowExecutionStartedEventAttributes.Builder 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
public Failure getContinuedFailure()
.temporal.api.failure.v1.Failure continued_failure = 12;- Specified by:
getContinuedFailurein interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The continuedFailure.
-
setContinuedFailure
public WorkflowExecutionStartedEventAttributes.Builder setContinuedFailure(Failure value)
.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
public WorkflowExecutionStartedEventAttributes.Builder mergeContinuedFailure(Failure value)
.temporal.api.failure.v1.Failure continued_failure = 12;
-
clearContinuedFailure
public WorkflowExecutionStartedEventAttributes.Builder clearContinuedFailure()
.temporal.api.failure.v1.Failure continued_failure = 12;
-
getContinuedFailureBuilder
public Failure.Builder getContinuedFailureBuilder()
.temporal.api.failure.v1.Failure continued_failure = 12;
-
getContinuedFailureOrBuilder
public FailureOrBuilder 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
public Payloads getLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 13;- Specified by:
getLastCompletionResultin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The lastCompletionResult.
-
setLastCompletionResult
public WorkflowExecutionStartedEventAttributes.Builder setLastCompletionResult(Payloads value)
.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
public WorkflowExecutionStartedEventAttributes.Builder mergeLastCompletionResult(Payloads value)
.temporal.api.common.v1.Payloads last_completion_result = 13;
-
clearLastCompletionResult
public WorkflowExecutionStartedEventAttributes.Builder clearLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 13;
-
getLastCompletionResultBuilder
public Payloads.Builder getLastCompletionResultBuilder()
.temporal.api.common.v1.Payloads last_completion_result = 13;
-
getLastCompletionResultOrBuilder
public PayloadsOrBuilder getLastCompletionResultOrBuilder()
.temporal.api.common.v1.Payloads last_completion_result = 13;- Specified by:
getLastCompletionResultOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getOriginalExecutionRunId
public java.lang.String 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
public WorkflowExecutionStartedEventAttributes.Builder setOriginalExecutionRunId(java.lang.String 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 originalExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearOriginalExecutionRunId
public WorkflowExecutionStartedEventAttributes.Builder 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
public java.lang.String 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
public WorkflowExecutionStartedEventAttributes.Builder setIdentity(java.lang.String value)
Identity of the client who requested this execution
string identity = 15;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public WorkflowExecutionStartedEventAttributes.Builder 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
public java.lang.String 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
public WorkflowExecutionStartedEventAttributes.Builder setFirstExecutionRunId(java.lang.String 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 firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearFirstExecutionRunId
public WorkflowExecutionStartedEventAttributes.Builder 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
public RetryPolicy getRetryPolicy()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;- Specified by:
getRetryPolicyin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
public WorkflowExecutionStartedEventAttributes.Builder setRetryPolicy(RetryPolicy value)
.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
public WorkflowExecutionStartedEventAttributes.Builder mergeRetryPolicy(RetryPolicy value)
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
-
clearRetryPolicy
public WorkflowExecutionStartedEventAttributes.Builder clearRetryPolicy()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
-
getRetryPolicyBuilder
public RetryPolicy.Builder getRetryPolicyBuilder()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
-
getRetryPolicyOrBuilder
public RetryPolicyOrBuilder 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
public WorkflowExecutionStartedEventAttributes.Builder setAttempt(int value)
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
public WorkflowExecutionStartedEventAttributes.Builder 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 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(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(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(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
public WorkflowExecutionStartedEventAttributes.Builder 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 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 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
public java.lang.String 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
public WorkflowExecutionStartedEventAttributes.Builder setCronSchedule(java.lang.String value)
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
public WorkflowExecutionStartedEventAttributes.Builder 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 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(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(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(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
public WorkflowExecutionStartedEventAttributes.Builder 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 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 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
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 22;- Specified by:
getMemoin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The memo.
-
setMemo
public WorkflowExecutionStartedEventAttributes.Builder setMemo(Memo value)
.temporal.api.common.v1.Memo memo = 22;
-
setMemo
public WorkflowExecutionStartedEventAttributes.Builder setMemo(Memo.Builder builderForValue)
.temporal.api.common.v1.Memo memo = 22;
-
mergeMemo
public WorkflowExecutionStartedEventAttributes.Builder mergeMemo(Memo value)
.temporal.api.common.v1.Memo memo = 22;
-
clearMemo
public WorkflowExecutionStartedEventAttributes.Builder clearMemo()
.temporal.api.common.v1.Memo memo = 22;
-
getMemoBuilder
public Memo.Builder getMemoBuilder()
.temporal.api.common.v1.Memo memo = 22;
-
getMemoOrBuilder
public MemoOrBuilder 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
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;- Specified by:
getSearchAttributesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
public WorkflowExecutionStartedEventAttributes.Builder setSearchAttributes(SearchAttributes value)
.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
public WorkflowExecutionStartedEventAttributes.Builder clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
-
getSearchAttributesBuilder
public SearchAttributes.Builder getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder 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
public ResetPoints getPrevAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;- Specified by:
getPrevAutoResetPointsin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The prevAutoResetPoints.
-
setPrevAutoResetPoints
public WorkflowExecutionStartedEventAttributes.Builder setPrevAutoResetPoints(ResetPoints value)
.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
public WorkflowExecutionStartedEventAttributes.Builder mergePrevAutoResetPoints(ResetPoints value)
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
-
clearPrevAutoResetPoints
public WorkflowExecutionStartedEventAttributes.Builder clearPrevAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
-
getPrevAutoResetPointsBuilder
public ResetPoints.Builder getPrevAutoResetPointsBuilder()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
-
getPrevAutoResetPointsOrBuilder
public ResetPointsOrBuilder 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
public Header getHeader()
.temporal.api.common.v1.Header header = 25;- Specified by:
getHeaderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The header.
-
setHeader
public WorkflowExecutionStartedEventAttributes.Builder setHeader(Header value)
.temporal.api.common.v1.Header header = 25;
-
setHeader
public WorkflowExecutionStartedEventAttributes.Builder setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 25;
-
mergeHeader
public WorkflowExecutionStartedEventAttributes.Builder mergeHeader(Header value)
.temporal.api.common.v1.Header header = 25;
-
clearHeader
public WorkflowExecutionStartedEventAttributes.Builder clearHeader()
.temporal.api.common.v1.Header header = 25;
-
getHeaderBuilder
public Header.Builder getHeaderBuilder()
.temporal.api.common.v1.Header header = 25;
-
getHeaderOrBuilder
public HeaderOrBuilder 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
public WorkflowExecutionStartedEventAttributes.Builder setParentInitiatedEventVersion(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 namespace
int64 parent_initiated_event_version = 26;- Parameters:
value- The parentInitiatedEventVersion to set.- Returns:
- This builder for chaining.
-
clearParentInitiatedEventVersion
public WorkflowExecutionStartedEventAttributes.Builder 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
public java.lang.String 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
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowId(java.lang.String value)
This field is new in 1.21.
string workflow_id = 28;- Parameters:
value- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
public WorkflowExecutionStartedEventAttributes.Builder 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
public boolean hasSourceVersionStamp()
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. use `inherited_build_id` instead
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;- Specified by:
hasSourceVersionStampin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the sourceVersionStamp field is set.
-
getSourceVersionStamp
public WorkerVersionStamp getSourceVersionStamp()
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. use `inherited_build_id` instead
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;- Specified by:
getSourceVersionStampin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The sourceVersionStamp.
-
setSourceVersionStamp
public WorkflowExecutionStartedEventAttributes.Builder setSourceVersionStamp(WorkerVersionStamp value)
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. use `inherited_build_id` instead
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;
-
setSourceVersionStamp
public WorkflowExecutionStartedEventAttributes.Builder setSourceVersionStamp(WorkerVersionStamp.Builder builderForValue)
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. use `inherited_build_id` instead
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;
-
mergeSourceVersionStamp
public WorkflowExecutionStartedEventAttributes.Builder mergeSourceVersionStamp(WorkerVersionStamp value)
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. use `inherited_build_id` instead
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;
-
clearSourceVersionStamp
public WorkflowExecutionStartedEventAttributes.Builder clearSourceVersionStamp()
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. use `inherited_build_id` instead
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;
-
getSourceVersionStampBuilder
public WorkerVersionStamp.Builder getSourceVersionStampBuilder()
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. use `inherited_build_id` instead
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;
-
getSourceVersionStampOrBuilder
public WorkerVersionStampOrBuilder getSourceVersionStampOrBuilder()
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here. Deprecated. use `inherited_build_id` instead
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;- Specified by:
getSourceVersionStampOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getCompletionCallbacksList
public java.util.List<Callback> 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
public Callback getCompletionCallbacks(int index)
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
public WorkflowExecutionStartedEventAttributes.Builder addCompletionCallbacks(Callback value)
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(java.lang.Iterable<? extends Callback> values)
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
-
clearCompletionCallbacks
public WorkflowExecutionStartedEventAttributes.Builder clearCompletionCallbacks()
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
-
removeCompletionCallbacks
public WorkflowExecutionStartedEventAttributes.Builder removeCompletionCallbacks(int index)
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
-
getCompletionCallbacksBuilder
public Callback.Builder getCompletionCallbacksBuilder(int index)
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
-
getCompletionCallbacksOrBuilder
public CallbackOrBuilder getCompletionCallbacksOrBuilder(int index)
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;- Specified by:
getCompletionCallbacksOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getCompletionCallbacksOrBuilderList
public java.util.List<? extends CallbackOrBuilder> getCompletionCallbacksOrBuilderList()
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;- Specified by:
getCompletionCallbacksOrBuilderListin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
addCompletionCallbacksBuilder
public Callback.Builder addCompletionCallbacksBuilder()
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
-
addCompletionCallbacksBuilder
public Callback.Builder addCompletionCallbacksBuilder(int index)
Completion callbacks attached when this workflow was started.
repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
-
getCompletionCallbacksBuilderList
public java.util.List<Callback.Builder> 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. 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. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;- Specified by:
hasRootWorkflowExecutionin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- Whether the rootWorkflowExecution field is set.
-
getRootWorkflowExecution
public WorkflowExecution 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. 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. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..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. 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. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..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. 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. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..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. 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. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;
-
clearRootWorkflowExecution
public WorkflowExecutionStartedEventAttributes.Builder 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. 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. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;
-
getRootWorkflowExecutionBuilder
public WorkflowExecution.Builder 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. 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. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;
-
getRootWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder 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. 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. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;- Specified by:
getRootWorkflowExecutionOrBuilderin interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getInheritedBuildId
public java.lang.String getInheritedBuildId()
When present, this execution is assigned to the build ID of its parent or previous execution.
string inherited_build_id = 32;- Specified by:
getInheritedBuildIdin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The inheritedBuildId.
-
getInheritedBuildIdBytes
public com.google.protobuf.ByteString getInheritedBuildIdBytes()
When present, this execution is assigned to the build ID of its parent or previous execution.
string inherited_build_id = 32;- Specified by:
getInheritedBuildIdBytesin interfaceWorkflowExecutionStartedEventAttributesOrBuilder- Returns:
- The bytes for inheritedBuildId.
-
setInheritedBuildId
public WorkflowExecutionStartedEventAttributes.Builder setInheritedBuildId(java.lang.String value)
When present, this execution is assigned to the build ID of its parent or previous execution.
string inherited_build_id = 32;- Parameters:
value- The inheritedBuildId to set.- Returns:
- This builder for chaining.
-
clearInheritedBuildId
public WorkflowExecutionStartedEventAttributes.Builder clearInheritedBuildId()
When present, this execution is assigned to the build ID of its parent or previous execution.
string inherited_build_id = 32;- Returns:
- This builder for chaining.
-
setInheritedBuildIdBytes
public WorkflowExecutionStartedEventAttributes.Builder setInheritedBuildIdBytes(com.google.protobuf.ByteString value)
When present, this execution is assigned to the build ID of its parent or previous execution.
string inherited_build_id = 32;- Parameters:
value- The bytes for inheritedBuildId to set.- Returns:
- This builder for chaining.
-
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>
-
-