Class WorkflowExecutionContinuedAsNewEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionContinuedAsNewEventAttributesOrBuilder,Cloneable
- Enclosing class:
WorkflowExecutionContinuedAsNewEventAttributes
public static final class WorkflowExecutionContinuedAsNewEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
implements WorkflowExecutionContinuedAsNewEventAttributesOrBuilder
Protobuf type
temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()How long the server will wait before scheduling the first workflow task for the new run.Deprecated.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .temporal.api.common.v1.Header header = 12;Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated.Experimental..temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;.temporal.api.common.v1.Payloads input = 4;The result from the most recent completed run of this workflow..temporal.api.common.v1.Memo memo = 13;The run ID of the new workflow started by this continue-as-newclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .temporal.api.common.v1.SearchAttributes search_attributes = 14;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;Timeout of a single workflow run.The `WORKFLOW_TASK_COMPLETED` event which this command was reported withTimeout of a single workflow task..temporal.api.common.v1.WorkflowType workflow_type = 2;clone()com.google.protobuf.DurationHow long the server will wait before scheduling the first workflow task for the new run.com.google.protobuf.Duration.BuilderHow long the server will wait before scheduling the first workflow task for the new run.com.google.protobuf.DurationOrBuilderHow long the server will wait before scheduling the first workflow task for the new run.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated.Deprecated.Deprecated..temporal.api.common.v1.Header header = 12;.temporal.api.common.v1.Header header = 12;.temporal.api.common.v1.Header header = 12;booleanDeprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated.Experimental.intExperimental..temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;int.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;getInput().temporal.api.common.v1.Payloads input = 4;.temporal.api.common.v1.Payloads input = 4;.temporal.api.common.v1.Payloads input = 4;The result from the most recent completed run of this workflow.The result from the most recent completed run of this workflow.The result from the most recent completed run of this workflow.getMemo().temporal.api.common.v1.Memo memo = 13;.temporal.api.common.v1.Memo memo = 13;.temporal.api.common.v1.Memo memo = 13;The run ID of the new workflow started by this continue-as-newcom.google.protobuf.ByteStringThe run ID of the new workflow started by this continue-as-new.temporal.api.common.v1.SearchAttributes search_attributes = 14;.temporal.api.common.v1.SearchAttributes search_attributes = 14;.temporal.api.common.v1.SearchAttributes search_attributes = 14;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;com.google.protobuf.DurationTimeout of a single workflow run.com.google.protobuf.Duration.BuilderTimeout of a single workflow run.com.google.protobuf.DurationOrBuilderTimeout of a single workflow run.longThe `WORKFLOW_TASK_COMPLETED` event which this command was reported withcom.google.protobuf.DurationTimeout of a single workflow task.com.google.protobuf.Duration.BuilderTimeout of a single workflow task.com.google.protobuf.DurationOrBuilderTimeout of a single workflow task..temporal.api.common.v1.WorkflowType workflow_type = 2;.temporal.api.common.v1.WorkflowType workflow_type = 2;.temporal.api.common.v1.WorkflowType workflow_type = 2;booleanHow long the server will wait before scheduling the first workflow task for the new run.booleanDeprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated.boolean.temporal.api.common.v1.Header header = 12;booleanhasInput().temporal.api.common.v1.Payloads input = 4;booleanThe result from the most recent completed run of this workflow.booleanhasMemo().temporal.api.common.v1.Memo memo = 13;boolean.temporal.api.common.v1.SearchAttributes search_attributes = 14;boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;booleanTimeout of a single workflow run.booleanTimeout of a single workflow task.boolean.temporal.api.common.v1.WorkflowType workflow_type = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeBackoffStartInterval(com.google.protobuf.Duration value) How long the server will wait before scheduling the first workflow task for the new run.mergeFailure(Failure value) Deprecated.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeader(Header value) .temporal.api.common.v1.Header header = 12;mergeInput(Payloads value) .temporal.api.common.v1.Payloads input = 4;The result from the most recent completed run of this workflow..temporal.api.common.v1.Memo memo = 13;.temporal.api.common.v1.SearchAttributes search_attributes = 14;mergeTaskQueue(TaskQueue value) .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.mergeWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.mergeWorkflowType(WorkflowType value) .temporal.api.common.v1.WorkflowType workflow_type = 2;setBackoffStartInterval(com.google.protobuf.Duration value) How long the server will wait before scheduling the first workflow task for the new run.setBackoffStartInterval(com.google.protobuf.Duration.Builder builderForValue) How long the server will wait before scheduling the first workflow task for the new run.setFailure(Failure value) Deprecated.setFailure(Failure.Builder builderForValue) Deprecated..temporal.api.common.v1.Header header = 12;setHeader(Header.Builder builderForValue) .temporal.api.common.v1.Header header = 12;setInheritBuildId(boolean value) Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated.Experimental.setInitialVersioningBehaviorValue(int value) Experimental..temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;setInitiatorValue(int value) .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;.temporal.api.common.v1.Payloads input = 4;setInput(Payloads.Builder builderForValue) .temporal.api.common.v1.Payloads input = 4;setLastCompletionResult(Payloads value) The result from the most recent completed run of this workflow.setLastCompletionResult(Payloads.Builder builderForValue) The result from the most recent completed run of this workflow..temporal.api.common.v1.Memo memo = 13;setMemo(Memo.Builder builderForValue) .temporal.api.common.v1.Memo memo = 13;setNewExecutionRunId(String value) The run ID of the new workflow started by this continue-as-newsetNewExecutionRunIdBytes(com.google.protobuf.ByteString value) The run ID of the new workflow started by this continue-as-newsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .temporal.api.common.v1.SearchAttributes search_attributes = 14;setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 14;setTaskQueue(TaskQueue value) .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;setTaskQueue(TaskQueue.Builder builderForValue) .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow run.setWorkflowTaskCompletedEventId(long value) The `WORKFLOW_TASK_COMPLETED` event which this command was reported withsetWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow task.setWorkflowType(WorkflowType value) .temporal.api.common.v1.WorkflowType workflow_type = 2;setWorkflowType(WorkflowType.Builder builderForValue) .temporal.api.common.v1.WorkflowType workflow_type = 2;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.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<WorkflowExecutionContinuedAsNewEventAttributes.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<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
setField
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
clearField
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionContinuedAsNewEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeFrom(WorkflowExecutionContinuedAsNewEventAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>- Throws:
IOException
-
getNewExecutionRunId
The run ID of the new workflow started by this continue-as-new
string new_execution_run_id = 1;- Specified by:
getNewExecutionRunIdin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The newExecutionRunId.
-
getNewExecutionRunIdBytes
public com.google.protobuf.ByteString getNewExecutionRunIdBytes()The run ID of the new workflow started by this continue-as-new
string new_execution_run_id = 1;- Specified by:
getNewExecutionRunIdBytesin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The bytes for newExecutionRunId.
-
setNewExecutionRunId
The run ID of the new workflow started by this continue-as-new
string new_execution_run_id = 1;- Parameters:
value- The newExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearNewExecutionRunId
The run ID of the new workflow started by this continue-as-new
string new_execution_run_id = 1;- Returns:
- This builder for chaining.
-
setNewExecutionRunIdBytes
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setNewExecutionRunIdBytes(com.google.protobuf.ByteString value) The run ID of the new workflow started by this continue-as-new
string new_execution_run_id = 1;- Parameters:
value- The bytes for newExecutionRunId to set.- Returns:
- This builder for chaining.
-
hasWorkflowType
public boolean hasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
hasWorkflowTypein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
getWorkflowTypein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowType.
-
setWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
setWorkflowType
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowType(WorkflowType.Builder builderForValue) .temporal.api.common.v1.WorkflowType workflow_type = 2; -
mergeWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
clearWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
getWorkflowTypeBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 2; -
getWorkflowTypeOrBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
getWorkflowTypeOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
hasTaskQueuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
getTaskQueuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
setTaskQueue
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setTaskQueue(TaskQueue.Builder builderForValue) .temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
mergeTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
clearTaskQueue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
getTaskQueueBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
getTaskQueueOrBuilder
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
getTaskQueueOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasInput
public boolean hasInput().temporal.api.common.v1.Payloads input = 4;- Specified by:
hasInputin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
.temporal.api.common.v1.Payloads input = 4;- Specified by:
getInputin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The input.
-
setInput
.temporal.api.common.v1.Payloads input = 4; -
setInput
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInput(Payloads.Builder builderForValue) .temporal.api.common.v1.Payloads input = 4; -
mergeInput
.temporal.api.common.v1.Payloads input = 4; -
clearInput
.temporal.api.common.v1.Payloads input = 4; -
getInputBuilder
.temporal.api.common.v1.Payloads input = 4; -
getInputOrBuilder
.temporal.api.common.v1.Payloads input = 4;- Specified by:
getInputOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasWorkflowRunTimeout
public boolean hasWorkflowRunTimeout()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;- Specified by:
hasWorkflowRunTimeoutin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- 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 = 5;- Specified by:
getWorkflowRunTimeoutin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowRunTimeout.
-
setWorkflowRunTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5; -
setWorkflowRunTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5; -
mergeWorkflowRunTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeWorkflowRunTimeout(com.google.protobuf.Duration value) Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5; -
clearWorkflowRunTimeout
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5; -
getWorkflowRunTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5; -
getWorkflowRunTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;- Specified by:
getWorkflowRunTimeoutOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasWorkflowTaskTimeout
public boolean hasWorkflowTaskTimeout()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;- Specified by:
hasWorkflowTaskTimeoutin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- 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 = 6;- Specified by:
getWorkflowTaskTimeoutin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowTaskTimeout.
-
setWorkflowTaskTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6; -
setWorkflowTaskTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6; -
mergeWorkflowTaskTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeWorkflowTaskTimeout(com.google.protobuf.Duration value) Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6; -
clearWorkflowTaskTimeout
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6; -
getWorkflowTaskTimeoutBuilder
public com.google.protobuf.Duration.Builder getWorkflowTaskTimeoutBuilder()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6; -
getWorkflowTaskTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;- Specified by:
getWorkflowTaskTimeoutOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getWorkflowTaskCompletedEventId
public long getWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 7;- Specified by:
getWorkflowTaskCompletedEventIdin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowTaskCompletedEventId.
-
setWorkflowTaskCompletedEventId
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowTaskCompletedEventId(long value) The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 7;- Parameters:
value- The workflowTaskCompletedEventId to set.- Returns:
- This builder for chaining.
-
clearWorkflowTaskCompletedEventId
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 7;- Returns:
- This builder for chaining.
-
hasBackoffStartInterval
public boolean hasBackoffStartInterval()How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8;- Specified by:
hasBackoffStartIntervalin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the backoffStartInterval field is set.
-
getBackoffStartInterval
public com.google.protobuf.Duration getBackoffStartInterval()How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8;- Specified by:
getBackoffStartIntervalin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The backoffStartInterval.
-
setBackoffStartInterval
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setBackoffStartInterval(com.google.protobuf.Duration value) How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8; -
setBackoffStartInterval
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setBackoffStartInterval(com.google.protobuf.Duration.Builder builderForValue) How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8; -
mergeBackoffStartInterval
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeBackoffStartInterval(com.google.protobuf.Duration value) How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8; -
clearBackoffStartInterval
How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8; -
getBackoffStartIntervalBuilder
public com.google.protobuf.Duration.Builder getBackoffStartIntervalBuilder()How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8; -
getBackoffStartIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getBackoffStartIntervalOrBuilder()How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.
.google.protobuf.Duration backoff_start_interval = 8;- Specified by:
getBackoffStartIntervalOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getInitiatorValue
public int getInitiatorValue().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;- Specified by:
getInitiatorValuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The enum numeric value on the wire for initiator.
-
setInitiatorValue
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;- Parameters:
value- The enum numeric value on the wire for initiator to set.- Returns:
- This builder for chaining.
-
getInitiator
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;- Specified by:
getInitiatorin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The initiator.
-
setInitiator
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInitiator(ContinueAsNewInitiator value) .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;- Parameters:
value- The initiator to set.- Returns:
- This builder for chaining.
-
clearInitiator
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;- Returns:
- This builder for chaining.
-
hasFailure
Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated. See temporal/api/history/v1/message.proto;l=274Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10 [deprecated = true];- Specified by:
hasFailurein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated. See temporal/api/history/v1/message.proto;l=274Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10 [deprecated = true];- Specified by:
getFailurein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The failure.
-
setFailure
Deprecated.Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10 [deprecated = true]; -
setFailure
@Deprecated public WorkflowExecutionContinuedAsNewEventAttributes.Builder setFailure(Failure.Builder builderForValue) Deprecated.Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10 [deprecated = true]; -
mergeFailure
@Deprecated public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeFailure(Failure value) Deprecated.Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10 [deprecated = true]; -
clearFailure
Deprecated.Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10 [deprecated = true]; -
getFailureBuilder
Deprecated.Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10 [deprecated = true]; -
getFailureOrBuilder
Deprecated.Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10 [deprecated = true];- Specified by:
getFailureOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasLastCompletionResult
public boolean hasLastCompletionResult()The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11;- Specified by:
hasLastCompletionResultin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11;- Specified by:
getLastCompletionResultin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The lastCompletionResult.
-
setLastCompletionResult
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setLastCompletionResult(Payloads value) The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11; -
setLastCompletionResult
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setLastCompletionResult(Payloads.Builder builderForValue) The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11; -
mergeLastCompletionResult
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeLastCompletionResult(Payloads value) The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11; -
clearLastCompletionResult
The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11; -
getLastCompletionResultBuilder
The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11; -
getLastCompletionResultOrBuilder
The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`.
.temporal.api.common.v1.Payloads last_completion_result = 11;- Specified by:
getLastCompletionResultOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasHeader
public boolean hasHeader().temporal.api.common.v1.Header header = 12;- Specified by:
hasHeaderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
.temporal.api.common.v1.Header header = 12;- Specified by:
getHeaderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The header.
-
setHeader
.temporal.api.common.v1.Header header = 12; -
setHeader
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setHeader(Header.Builder builderForValue) .temporal.api.common.v1.Header header = 12; -
mergeHeader
.temporal.api.common.v1.Header header = 12; -
clearHeader
.temporal.api.common.v1.Header header = 12; -
getHeaderBuilder
.temporal.api.common.v1.Header header = 12; -
getHeaderOrBuilder
.temporal.api.common.v1.Header header = 12;- Specified by:
getHeaderOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasMemo
public boolean hasMemo().temporal.api.common.v1.Memo memo = 13;- Specified by:
hasMemoin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
.temporal.api.common.v1.Memo memo = 13;- Specified by:
getMemoin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The memo.
-
setMemo
.temporal.api.common.v1.Memo memo = 13; -
setMemo
.temporal.api.common.v1.Memo memo = 13; -
mergeMemo
.temporal.api.common.v1.Memo memo = 13; -
clearMemo
.temporal.api.common.v1.Memo memo = 13; -
getMemoBuilder
.temporal.api.common.v1.Memo memo = 13; -
getMemoOrBuilder
.temporal.api.common.v1.Memo memo = 13;- Specified by:
getMemoOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 14;- Specified by:
hasSearchAttributesin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 14;- Specified by:
getSearchAttributesin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setSearchAttributes(SearchAttributes value) .temporal.api.common.v1.SearchAttributes search_attributes = 14; -
setSearchAttributes
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 14; -
mergeSearchAttributes
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeSearchAttributes(SearchAttributes value) .temporal.api.common.v1.SearchAttributes search_attributes = 14; -
clearSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 14; -
getSearchAttributesBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 14; -
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 14;- Specified by:
getSearchAttributesOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getInheritBuildId
Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated. See temporal/api/history/v1/message.proto;l=284If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. Deprecated. Only considered for versioning v0.2.
bool inherit_build_id = 15 [deprecated = true];- Specified by:
getInheritBuildIdin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The inheritBuildId.
-
setInheritBuildId
@Deprecated public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInheritBuildId(boolean value) Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated. See temporal/api/history/v1/message.proto;l=284If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. Deprecated. Only considered for versioning v0.2.
bool inherit_build_id = 15 [deprecated = true];- Parameters:
value- The inheritBuildId to set.- Returns:
- This builder for chaining.
-
clearInheritBuildId
Deprecated.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated. See temporal/api/history/v1/message.proto;l=284If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. Deprecated. Only considered for versioning v0.2.
bool inherit_build_id = 15 [deprecated = true];- Returns:
- This builder for chaining.
-
getInitialVersioningBehaviorValue
public int getInitialVersioningBehaviorValue()Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;- Specified by:
getInitialVersioningBehaviorValuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The enum numeric value on the wire for initialVersioningBehavior.
-
setInitialVersioningBehaviorValue
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInitialVersioningBehaviorValue(int value) Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;- Parameters:
value- The enum numeric value on the wire for initialVersioningBehavior to set.- Returns:
- This builder for chaining.
-
getInitialVersioningBehavior
Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;- Specified by:
getInitialVersioningBehaviorin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The initialVersioningBehavior.
-
setInitialVersioningBehavior
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInitialVersioningBehavior(ContinueAsNewVersioningBehavior value) Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;- Parameters:
value- The initialVersioningBehavior to set.- Returns:
- This builder for chaining.
-
clearInitialVersioningBehavior
Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowExecutionContinuedAsNewEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-