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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionStartedEventAttributes
build()
WorkflowExecutionStartedEventAttributes
buildPartial()
WorkflowExecutionStartedEventAttributes.Builder
clear()
WorkflowExecutionStartedEventAttributes.Builder
clearAttempt()
Starting at 1, the number of times we have tried to execute this workflowWorkflowExecutionStartedEventAttributes.Builder
clearContinuedExecutionRunId()
Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.WorkflowExecutionStartedEventAttributes.Builder
clearContinuedFailure()
.temporal.api.failure.v1.Failure continued_failure = 12;
WorkflowExecutionStartedEventAttributes.Builder
clearCronSchedule()
If this workflow runs on a cron schedule, it will appear hereWorkflowExecutionStartedEventAttributes.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WorkflowExecutionStartedEventAttributes.Builder
clearFirstExecutionRunId()
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.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.WorkflowExecutionStartedEventAttributes.Builder
clearHeader()
.temporal.api.common.v1.Header header = 25;
WorkflowExecutionStartedEventAttributes.Builder
clearIdentity()
Identity of the client who requested this executionWorkflowExecutionStartedEventAttributes.Builder
clearInitiator()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
WorkflowExecutionStartedEventAttributes.Builder
clearInput()
SDK will deserialize this and provide it as arguments to the workflow functionWorkflowExecutionStartedEventAttributes.Builder
clearLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 13;
WorkflowExecutionStartedEventAttributes.Builder
clearMemo()
.temporal.api.common.v1.Memo memo = 22;
WorkflowExecutionStartedEventAttributes.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WorkflowExecutionStartedEventAttributes.Builder
clearOriginalExecutionRunId()
This is the run id when the WorkflowExecutionStarted event was written.WorkflowExecutionStartedEventAttributes.Builder
clearParentInitiatedEventId()
EventID of the child execution initiated event in parent workflowWorkflowExecutionStartedEventAttributes.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 namespaceWorkflowExecutionStartedEventAttributes.Builder
clearParentWorkflowExecution()
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionStartedEventAttributes.Builder
clearParentWorkflowNamespace()
If this workflow is a child, the namespace our parent lives in.WorkflowExecutionStartedEventAttributes.Builder
clearParentWorkflowNamespaceId()
string parent_workflow_namespace_id = 27;
WorkflowExecutionStartedEventAttributes.Builder
clearPrevAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
WorkflowExecutionStartedEventAttributes.Builder
clearRetryPolicy()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
WorkflowExecutionStartedEventAttributes.Builder
clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
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.WorkflowExecutionStartedEventAttributes.Builder
clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
WorkflowExecutionStartedEventAttributes.Builder
clearWorkflowExecutionExpirationTime()
The absolute time at which the workflow will be timed out.WorkflowExecutionStartedEventAttributes.Builder
clearWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.WorkflowExecutionStartedEventAttributes.Builder
clearWorkflowId()
This field is new in 1.21.WorkflowExecutionStartedEventAttributes.Builder
clearWorkflowRunTimeout()
Timeout of a single workflow run.WorkflowExecutionStartedEventAttributes.Builder
clearWorkflowTaskTimeout()
Timeout of a single workflow task.WorkflowExecutionStartedEventAttributes.Builder
clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 1;
WorkflowExecutionStartedEventAttributes.Builder
clone()
int
getAttempt()
Starting at 1, the number of times we have tried to execute this workflowjava.lang.String
getContinuedExecutionRunId()
Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.com.google.protobuf.ByteString
getContinuedExecutionRunIdBytes()
Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.Failure
getContinuedFailure()
.temporal.api.failure.v1.Failure continued_failure = 12;
Failure.Builder
getContinuedFailureBuilder()
.temporal.api.failure.v1.Failure continued_failure = 12;
FailureOrBuilder
getContinuedFailureOrBuilder()
.temporal.api.failure.v1.Failure continued_failure = 12;
java.lang.String
getCronSchedule()
If this workflow runs on a cron schedule, it will appear herecom.google.protobuf.ByteString
getCronScheduleBytes()
If this workflow runs on a cron schedule, it will appear hereWorkflowExecutionStartedEventAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getFirstExecutionRunId()
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.com.google.protobuf.ByteString
getFirstExecutionRunIdBytes()
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.com.google.protobuf.Duration
getFirstWorkflowTaskBackoff()
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.com.google.protobuf.Duration.Builder
getFirstWorkflowTaskBackoffBuilder()
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.com.google.protobuf.DurationOrBuilder
getFirstWorkflowTaskBackoffOrBuilder()
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.Header
getHeader()
.temporal.api.common.v1.Header header = 25;
Header.Builder
getHeaderBuilder()
.temporal.api.common.v1.Header header = 25;
HeaderOrBuilder
getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 25;
java.lang.String
getIdentity()
Identity of the client who requested this executioncom.google.protobuf.ByteString
getIdentityBytes()
Identity of the client who requested this executionContinueAsNewInitiator
getInitiator()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
int
getInitiatorValue()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
Payloads
getInput()
SDK will deserialize this and provide it as arguments to the workflow functionPayloads.Builder
getInputBuilder()
SDK will deserialize this and provide it as arguments to the workflow functionPayloadsOrBuilder
getInputOrBuilder()
SDK will deserialize this and provide it as arguments to the workflow functionPayloads
getLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 13;
Payloads.Builder
getLastCompletionResultBuilder()
.temporal.api.common.v1.Payloads last_completion_result = 13;
PayloadsOrBuilder
getLastCompletionResultOrBuilder()
.temporal.api.common.v1.Payloads last_completion_result = 13;
Memo
getMemo()
.temporal.api.common.v1.Memo memo = 22;
Memo.Builder
getMemoBuilder()
.temporal.api.common.v1.Memo memo = 22;
MemoOrBuilder
getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 22;
java.lang.String
getOriginalExecutionRunId()
This is the run id when the WorkflowExecutionStarted event was written.com.google.protobuf.ByteString
getOriginalExecutionRunIdBytes()
This is the run id when the WorkflowExecutionStarted event was written.long
getParentInitiatedEventId()
EventID of the child execution initiated event in parent workflowlong
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 namespaceWorkflowExecution
getParentWorkflowExecution()
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecution.Builder
getParentWorkflowExecutionBuilder()
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionOrBuilder
getParentWorkflowExecutionOrBuilder()
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.java.lang.String
getParentWorkflowNamespace()
If this workflow is a child, the namespace our parent lives in.com.google.protobuf.ByteString
getParentWorkflowNamespaceBytes()
If this workflow is a child, the namespace our parent lives in.java.lang.String
getParentWorkflowNamespaceId()
string parent_workflow_namespace_id = 27;
com.google.protobuf.ByteString
getParentWorkflowNamespaceIdBytes()
string parent_workflow_namespace_id = 27;
ResetPoints
getPrevAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
ResetPoints.Builder
getPrevAutoResetPointsBuilder()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
ResetPointsOrBuilder
getPrevAutoResetPointsOrBuilder()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
RetryPolicy
getRetryPolicy()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
RetryPolicy.Builder
getRetryPolicyBuilder()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
SearchAttributes
getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
SearchAttributes.Builder
getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
SearchAttributesOrBuilder
getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
WorkerVersionStamp
getSourceVersionStamp()
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.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.WorkerVersionStampOrBuilder
getSourceVersionStampOrBuilder()
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.TaskQueue
getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
TaskQueue.Builder
getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
TaskQueueOrBuilder
getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
com.google.protobuf.Timestamp
getWorkflowExecutionExpirationTime()
The absolute time at which the workflow will be timed out.com.google.protobuf.Timestamp.Builder
getWorkflowExecutionExpirationTimeBuilder()
The absolute time at which the workflow will be timed out.com.google.protobuf.TimestampOrBuilder
getWorkflowExecutionExpirationTimeOrBuilder()
The absolute time at which the workflow will be timed out.com.google.protobuf.Duration
getWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.com.google.protobuf.Duration.Builder
getWorkflowExecutionTimeoutBuilder()
Total workflow execution timeout including retries and continue as new.com.google.protobuf.DurationOrBuilder
getWorkflowExecutionTimeoutOrBuilder()
Total workflow execution timeout including retries and continue as new.java.lang.String
getWorkflowId()
This field is new in 1.21.com.google.protobuf.ByteString
getWorkflowIdBytes()
This field is new in 1.21.com.google.protobuf.Duration
getWorkflowRunTimeout()
Timeout of a single workflow run.com.google.protobuf.Duration.Builder
getWorkflowRunTimeoutBuilder()
Timeout of a single workflow run.com.google.protobuf.DurationOrBuilder
getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.com.google.protobuf.Duration
getWorkflowTaskTimeout()
Timeout of a single workflow task.com.google.protobuf.Duration.Builder
getWorkflowTaskTimeoutBuilder()
Timeout of a single workflow task.com.google.protobuf.DurationOrBuilder
getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.WorkflowType
getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 1;
WorkflowType.Builder
getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 1;
WorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 1;
boolean
hasContinuedFailure()
.temporal.api.failure.v1.Failure continued_failure = 12;
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.boolean
hasHeader()
.temporal.api.common.v1.Header header = 25;
boolean
hasInput()
SDK will deserialize this and provide it as arguments to the workflow functionboolean
hasLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 13;
boolean
hasMemo()
.temporal.api.common.v1.Memo memo = 22;
boolean
hasParentWorkflowExecution()
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.boolean
hasPrevAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
boolean
hasRetryPolicy()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
boolean
hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
boolean
hasSourceVersionStamp()
If this workflow intends to use anything other than the current overall default version for the queue, then we include it here.boolean
hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
boolean
hasWorkflowExecutionExpirationTime()
The absolute time at which the workflow will be timed out.boolean
hasWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.boolean
hasWorkflowRunTimeout()
Timeout of a single workflow run.boolean
hasWorkflowTaskTimeout()
Timeout of a single workflow task.boolean
hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WorkflowExecutionStartedEventAttributes.Builder
mergeContinuedFailure(Failure value)
.temporal.api.failure.v1.Failure continued_failure = 12;
WorkflowExecutionStartedEventAttributes.Builder
mergeFirstWorkflowTaskBackoff(com.google.protobuf.Duration value)
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.WorkflowExecutionStartedEventAttributes.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WorkflowExecutionStartedEventAttributes.Builder
mergeFrom(com.google.protobuf.Message other)
WorkflowExecutionStartedEventAttributes.Builder
mergeFrom(WorkflowExecutionStartedEventAttributes other)
WorkflowExecutionStartedEventAttributes.Builder
mergeHeader(Header value)
.temporal.api.common.v1.Header header = 25;
WorkflowExecutionStartedEventAttributes.Builder
mergeInput(Payloads value)
SDK will deserialize this and provide it as arguments to the workflow functionWorkflowExecutionStartedEventAttributes.Builder
mergeLastCompletionResult(Payloads value)
.temporal.api.common.v1.Payloads last_completion_result = 13;
WorkflowExecutionStartedEventAttributes.Builder
mergeMemo(Memo value)
.temporal.api.common.v1.Memo memo = 22;
WorkflowExecutionStartedEventAttributes.Builder
mergeParentWorkflowExecution(WorkflowExecution value)
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionStartedEventAttributes.Builder
mergePrevAutoResetPoints(ResetPoints value)
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
WorkflowExecutionStartedEventAttributes.Builder
mergeRetryPolicy(RetryPolicy value)
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
WorkflowExecutionStartedEventAttributes.Builder
mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
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.WorkflowExecutionStartedEventAttributes.Builder
mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
WorkflowExecutionStartedEventAttributes.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkflowExecutionStartedEventAttributes.Builder
mergeWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp value)
The absolute time at which the workflow will be timed out.WorkflowExecutionStartedEventAttributes.Builder
mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.WorkflowExecutionStartedEventAttributes.Builder
mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.WorkflowExecutionStartedEventAttributes.Builder
mergeWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.WorkflowExecutionStartedEventAttributes.Builder
mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 1;
WorkflowExecutionStartedEventAttributes.Builder
setAttempt(int value)
Starting at 1, the number of times we have tried to execute this workflowWorkflowExecutionStartedEventAttributes.Builder
setContinuedExecutionRunId(java.lang.String value)
Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.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.WorkflowExecutionStartedEventAttributes.Builder
setContinuedFailure(Failure value)
.temporal.api.failure.v1.Failure continued_failure = 12;
WorkflowExecutionStartedEventAttributes.Builder
setContinuedFailure(Failure.Builder builderForValue)
.temporal.api.failure.v1.Failure continued_failure = 12;
WorkflowExecutionStartedEventAttributes.Builder
setCronSchedule(java.lang.String value)
If this workflow runs on a cron schedule, it will appear hereWorkflowExecutionStartedEventAttributes.Builder
setCronScheduleBytes(com.google.protobuf.ByteString value)
If this workflow runs on a cron schedule, it will appear hereWorkflowExecutionStartedEventAttributes.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionStartedEventAttributes.Builder
setFirstExecutionRunId(java.lang.String value)
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.WorkflowExecutionStartedEventAttributes.Builder
setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value)
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.WorkflowExecutionStartedEventAttributes.Builder
setFirstWorkflowTaskBackoff(com.google.protobuf.Duration value)
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.WorkflowExecutionStartedEventAttributes.Builder
setFirstWorkflowTaskBackoff(com.google.protobuf.Duration.Builder builderForValue)
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.WorkflowExecutionStartedEventAttributes.Builder
setHeader(Header value)
.temporal.api.common.v1.Header header = 25;
WorkflowExecutionStartedEventAttributes.Builder
setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 25;
WorkflowExecutionStartedEventAttributes.Builder
setIdentity(java.lang.String value)
Identity of the client who requested this executionWorkflowExecutionStartedEventAttributes.Builder
setIdentityBytes(com.google.protobuf.ByteString value)
Identity of the client who requested this executionWorkflowExecutionStartedEventAttributes.Builder
setInitiator(ContinueAsNewInitiator value)
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
WorkflowExecutionStartedEventAttributes.Builder
setInitiatorValue(int value)
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
WorkflowExecutionStartedEventAttributes.Builder
setInput(Payloads value)
SDK will deserialize this and provide it as arguments to the workflow functionWorkflowExecutionStartedEventAttributes.Builder
setInput(Payloads.Builder builderForValue)
SDK will deserialize this and provide it as arguments to the workflow functionWorkflowExecutionStartedEventAttributes.Builder
setLastCompletionResult(Payloads value)
.temporal.api.common.v1.Payloads last_completion_result = 13;
WorkflowExecutionStartedEventAttributes.Builder
setLastCompletionResult(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads last_completion_result = 13;
WorkflowExecutionStartedEventAttributes.Builder
setMemo(Memo value)
.temporal.api.common.v1.Memo memo = 22;
WorkflowExecutionStartedEventAttributes.Builder
setMemo(Memo.Builder builderForValue)
.temporal.api.common.v1.Memo memo = 22;
WorkflowExecutionStartedEventAttributes.Builder
setOriginalExecutionRunId(java.lang.String value)
This is the run id when the WorkflowExecutionStarted event was written.WorkflowExecutionStartedEventAttributes.Builder
setOriginalExecutionRunIdBytes(com.google.protobuf.ByteString value)
This is the run id when the WorkflowExecutionStarted event was written.WorkflowExecutionStartedEventAttributes.Builder
setParentInitiatedEventId(long value)
EventID of the child execution initiated event in parent workflowWorkflowExecutionStartedEventAttributes.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 namespaceWorkflowExecutionStartedEventAttributes.Builder
setParentWorkflowExecution(WorkflowExecution value)
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionStartedEventAttributes.Builder
setParentWorkflowExecution(WorkflowExecution.Builder builderForValue)
Contains information about parent workflow execution that initiated the child workflow these attributes belong to.WorkflowExecutionStartedEventAttributes.Builder
setParentWorkflowNamespace(java.lang.String value)
If this workflow is a child, the namespace our parent lives in.WorkflowExecutionStartedEventAttributes.Builder
setParentWorkflowNamespaceBytes(com.google.protobuf.ByteString value)
If this workflow is a child, the namespace our parent lives in.WorkflowExecutionStartedEventAttributes.Builder
setParentWorkflowNamespaceId(java.lang.String value)
string parent_workflow_namespace_id = 27;
WorkflowExecutionStartedEventAttributes.Builder
setParentWorkflowNamespaceIdBytes(com.google.protobuf.ByteString value)
string parent_workflow_namespace_id = 27;
WorkflowExecutionStartedEventAttributes.Builder
setPrevAutoResetPoints(ResetPoints value)
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
WorkflowExecutionStartedEventAttributes.Builder
setPrevAutoResetPoints(ResetPoints.Builder builderForValue)
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
WorkflowExecutionStartedEventAttributes.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WorkflowExecutionStartedEventAttributes.Builder
setRetryPolicy(RetryPolicy value)
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
WorkflowExecutionStartedEventAttributes.Builder
setRetryPolicy(RetryPolicy.Builder builderForValue)
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
WorkflowExecutionStartedEventAttributes.Builder
setSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
WorkflowExecutionStartedEventAttributes.Builder
setSearchAttributes(SearchAttributes.Builder builderForValue)
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
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.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.WorkflowExecutionStartedEventAttributes.Builder
setTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
WorkflowExecutionStartedEventAttributes.Builder
setTaskQueue(TaskQueue.Builder builderForValue)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
WorkflowExecutionStartedEventAttributes.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkflowExecutionStartedEventAttributes.Builder
setWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp value)
The absolute time at which the workflow will be timed out.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
The absolute time at which the workflow will be timed out.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)
Total workflow execution timeout including retries and continue as new.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowId(java.lang.String value)
This field is new in 1.21.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowIdBytes(com.google.protobuf.ByteString value)
This field is new in 1.21.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow run.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow task.WorkflowExecutionStartedEventAttributes.Builder
setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 1;
WorkflowExecutionStartedEventAttributes.Builder
setWorkflowType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType workflow_type = 1;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
clear
public WorkflowExecutionStartedEventAttributes.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowExecutionStartedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionStartedEventAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionStartedEventAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionStartedEventAttributes.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
setField
public WorkflowExecutionStartedEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
clearField
public WorkflowExecutionStartedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionStartedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionStartedEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionStartedEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionStartedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionStartedEventAttributes.Builder mergeFrom(WorkflowExecutionStartedEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasWorkflowType
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 1;
- Specified by:
getWorkflowType
in 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:
getWorkflowTypeOrBuilder
in 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:
getParentWorkflowNamespace
in 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:
getParentWorkflowNamespaceBytes
in 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:
getParentWorkflowNamespaceId
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- The parentWorkflowNamespaceId.
-
getParentWorkflowNamespaceIdBytes
public com.google.protobuf.ByteString getParentWorkflowNamespaceIdBytes()
string parent_workflow_namespace_id = 27;
- Specified by:
getParentWorkflowNamespaceIdBytes
in 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:
hasParentWorkflowExecution
in 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:
getParentWorkflowExecution
in 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:
getParentWorkflowExecutionOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getParentInitiatedEventId
public long getParentInitiatedEventId()
EventID of the child execution initiated event in parent workflow
int64 parent_initiated_event_id = 4;
- Specified by:
getParentInitiatedEventId
in 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:
hasTaskQueue
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
- Specified by:
getTaskQueue
in 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:
getTaskQueueOrBuilder
in 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:
hasInput
in 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:
getInput
in 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:
getInputOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasWorkflowExecutionTimeout
public boolean hasWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowExecutionTimeout
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the workflowExecutionTimeout field is set.
-
getWorkflowExecutionTimeout
public com.google.protobuf.Duration getWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowExecutionTimeout
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- The workflowExecutionTimeout.
-
setWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
-
setWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
-
mergeWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
-
clearWorkflowExecutionTimeout
public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowExecutionTimeout()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
-
getWorkflowExecutionTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowExecutionTimeoutBuilder()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
-
getWorkflowExecutionTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()
Total workflow execution timeout including retries and continue as new.
.google.protobuf.Duration workflow_execution_timeout = 7 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowExecutionTimeoutOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowRunTimeout
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the workflowRunTimeout field is set.
-
getWorkflowRunTimeout
public com.google.protobuf.Duration getWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowRunTimeout
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- The workflowRunTimeout.
-
setWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
-
setWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
-
mergeWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
-
clearWorkflowRunTimeout
public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
-
getWorkflowRunTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
-
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 8 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowRunTimeoutOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
- Specified by:
hasWorkflowTaskTimeout
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the workflowTaskTimeout field is set.
-
getWorkflowTaskTimeout
public com.google.protobuf.Duration getWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowTaskTimeout
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- The workflowTaskTimeout.
-
setWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
-
setWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
-
mergeWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowTaskTimeout(com.google.protobuf.Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
-
clearWorkflowTaskTimeout
public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
-
getWorkflowTaskTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowTaskTimeoutBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
-
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 9 [(.gogoproto.stdduration) = true];
- Specified by:
getWorkflowTaskTimeoutOrBuilder
in 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:
getContinuedExecutionRunId
in 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:
getContinuedExecutionRunIdBytes
in 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:
getInitiatorValue
in 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:
getInitiator
in 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:
hasContinuedFailure
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the continuedFailure field is set.
-
getContinuedFailure
public Failure getContinuedFailure()
.temporal.api.failure.v1.Failure continued_failure = 12;
- Specified by:
getContinuedFailure
in 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:
getContinuedFailureOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasLastCompletionResult
public boolean hasLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 13;
- Specified by:
hasLastCompletionResult
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
public Payloads getLastCompletionResult()
.temporal.api.common.v1.Payloads last_completion_result = 13;
- Specified by:
getLastCompletionResult
in 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:
getLastCompletionResultOrBuilder
in 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:
getOriginalExecutionRunId
in 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:
getOriginalExecutionRunIdBytes
in 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:
getIdentity
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
Identity of the client who requested this execution
string identity = 15;
- Specified by:
getIdentityBytes
in 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:
getFirstExecutionRunId
in 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:
getFirstExecutionRunIdBytes
in 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:
hasRetryPolicy
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
public RetryPolicy getRetryPolicy()
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
- Specified by:
getRetryPolicy
in 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:
getRetryPolicyOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
getAttempt
public int getAttempt()
Starting at 1, the number of times we have tried to execute this workflow
int32 attempt = 18;
- Specified by:
getAttempt
in 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 [(.gogoproto.stdtime) = true];
- Specified by:
hasWorkflowExecutionExpirationTime
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the workflowExecutionExpirationTime field is set.
-
getWorkflowExecutionExpirationTime
public com.google.protobuf.Timestamp getWorkflowExecutionExpirationTime()
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
- Specified by:
getWorkflowExecutionExpirationTime
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- The workflowExecutionExpirationTime.
-
setWorkflowExecutionExpirationTime
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp value)
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
-
setWorkflowExecutionExpirationTime
public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
-
mergeWorkflowExecutionExpirationTime
public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowExecutionExpirationTime(com.google.protobuf.Timestamp value)
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
-
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 [(.gogoproto.stdtime) = true];
-
getWorkflowExecutionExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getWorkflowExecutionExpirationTimeBuilder()
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
-
getWorkflowExecutionExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getWorkflowExecutionExpirationTimeOrBuilder()
The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow.
.google.protobuf.Timestamp workflow_execution_expiration_time = 19 [(.gogoproto.stdtime) = true];
- Specified by:
getWorkflowExecutionExpirationTimeOrBuilder
in 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:
getCronSchedule
in 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:
getCronScheduleBytes
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasFirstWorkflowTaskBackoff
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the firstWorkflowTaskBackoff field is set.
-
getFirstWorkflowTaskBackoff
public com.google.protobuf.Duration getFirstWorkflowTaskBackoff()
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
- Specified by:
getFirstWorkflowTaskBackoff
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- The firstWorkflowTaskBackoff.
-
setFirstWorkflowTaskBackoff
public WorkflowExecutionStartedEventAttributes.Builder setFirstWorkflowTaskBackoff(com.google.protobuf.Duration value)
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
-
setFirstWorkflowTaskBackoff
public WorkflowExecutionStartedEventAttributes.Builder setFirstWorkflowTaskBackoff(com.google.protobuf.Duration.Builder builderForValue)
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
-
mergeFirstWorkflowTaskBackoff
public WorkflowExecutionStartedEventAttributes.Builder mergeFirstWorkflowTaskBackoff(com.google.protobuf.Duration value)
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
-
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 [(.gogoproto.stdduration) = true];
-
getFirstWorkflowTaskBackoffBuilder
public com.google.protobuf.Duration.Builder getFirstWorkflowTaskBackoffBuilder()
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
-
getFirstWorkflowTaskBackoffOrBuilder
public com.google.protobuf.DurationOrBuilder getFirstWorkflowTaskBackoffOrBuilder()
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
.google.protobuf.Duration first_workflow_task_backoff = 21 [(.gogoproto.stdduration) = true];
- Specified by:
getFirstWorkflowTaskBackoffOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasMemo
public boolean hasMemo()
.temporal.api.common.v1.Memo memo = 22;
- Specified by:
hasMemo
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the memo field is set.
-
getMemo
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 22;
- Specified by:
getMemo
in 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:
getMemoOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
- Specified by:
hasSearchAttributes
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 23;
- Specified by:
getSearchAttributes
in 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:
getSearchAttributesOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasPrevAutoResetPoints
public boolean hasPrevAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
- Specified by:
hasPrevAutoResetPoints
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the prevAutoResetPoints field is set.
-
getPrevAutoResetPoints
public ResetPoints getPrevAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
- Specified by:
getPrevAutoResetPoints
in 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:
getPrevAutoResetPointsOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
hasHeader
public boolean hasHeader()
.temporal.api.common.v1.Header header = 25;
- Specified by:
hasHeader
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public Header getHeader()
.temporal.api.common.v1.Header header = 25;
- Specified by:
getHeader
in 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:
getHeaderOrBuilder
in 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:
getParentInitiatedEventVersion
in 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:
getWorkflowId
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()
This field is new in 1.21.
string workflow_id = 28;
- Specified by:
getWorkflowIdBytes
in 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.
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;
- Specified by:
hasSourceVersionStamp
in 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.
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;
- Specified by:
getSourceVersionStamp
in 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.
.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.
.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.
.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.
.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.
.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.
.temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29;
- Specified by:
getSourceVersionStampOrBuilder
in interfaceWorkflowExecutionStartedEventAttributesOrBuilder
-
setUnknownFields
public final WorkflowExecutionStartedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionStartedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
-
-