Package io.temporal.api.history.v1
Class WorkflowExecutionContinuedAsNewEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.Cloneable
- Enclosing class:
- WorkflowExecutionContinuedAsNewEventAttributes
public static final class WorkflowExecutionContinuedAsNewEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder> implements WorkflowExecutionContinuedAsNewEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionContinuedAsNewEventAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionContinuedAsNewEventAttributesbuild()WorkflowExecutionContinuedAsNewEventAttributesbuildPartial()WorkflowExecutionContinuedAsNewEventAttributes.Builderclear()WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearBackoffStartInterval()TODO: How and is this used?WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearFailure()TODO: David are these right? Deprecated.WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearHeader().temporal.api.common.v1.Header header = 12;WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearInheritBuildId()If this is set, the new execution inherits the Build ID of the current execution.WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearInitiator().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearInput().temporal.api.common.v1.Payloads input = 4;WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearLastCompletionResult()TODO: Is this the result of *this* workflow as it continued-as-new?WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearMemo().temporal.api.common.v1.Memo memo = 13;WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearNewExecutionRunId()The run ID of the new workflow started by this continue-as-newWorkflowExecutionContinuedAsNewEventAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 14;WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearWorkflowRunTimeout()Timeout of a single workflow run.WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported withWorkflowExecutionContinuedAsNewEventAttributes.BuilderclearWorkflowTaskTimeout()Timeout of a single workflow task.WorkflowExecutionContinuedAsNewEventAttributes.BuilderclearWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 2;WorkflowExecutionContinuedAsNewEventAttributes.Builderclone()DurationgetBackoffStartInterval()TODO: How and is this used?Duration.BuildergetBackoffStartIntervalBuilder()TODO: How and is this used?DurationOrBuildergetBackoffStartIntervalOrBuilder()TODO: How and is this used?WorkflowExecutionContinuedAsNewEventAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FailuregetFailure()TODO: David are these right? Deprecated.Failure.BuildergetFailureBuilder()TODO: David are these right? Deprecated.FailureOrBuildergetFailureOrBuilder()TODO: David are these right? Deprecated.HeadergetHeader().temporal.api.common.v1.Header header = 12;Header.BuildergetHeaderBuilder().temporal.api.common.v1.Header header = 12;HeaderOrBuildergetHeaderOrBuilder().temporal.api.common.v1.Header header = 12;booleangetInheritBuildId()If this is set, the new execution inherits the Build ID of the current execution.ContinueAsNewInitiatorgetInitiator().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;intgetInitiatorValue().temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;PayloadsgetInput().temporal.api.common.v1.Payloads input = 4;Payloads.BuildergetInputBuilder().temporal.api.common.v1.Payloads input = 4;PayloadsOrBuildergetInputOrBuilder().temporal.api.common.v1.Payloads input = 4;PayloadsgetLastCompletionResult()TODO: Is this the result of *this* workflow as it continued-as-new?Payloads.BuildergetLastCompletionResultBuilder()TODO: Is this the result of *this* workflow as it continued-as-new?PayloadsOrBuildergetLastCompletionResultOrBuilder()TODO: Is this the result of *this* workflow as it continued-as-new?MemogetMemo().temporal.api.common.v1.Memo memo = 13;Memo.BuildergetMemoBuilder().temporal.api.common.v1.Memo memo = 13;MemoOrBuildergetMemoOrBuilder().temporal.api.common.v1.Memo memo = 13;java.lang.StringgetNewExecutionRunId()The run ID of the new workflow started by this continue-as-newcom.google.protobuf.ByteStringgetNewExecutionRunIdBytes()The run ID of the new workflow started by this continue-as-newSearchAttributesgetSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 14;SearchAttributes.BuildergetSearchAttributesBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 14;SearchAttributesOrBuildergetSearchAttributesOrBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 14;TaskQueuegetTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;TaskQueue.BuildergetTaskQueueBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;TaskQueueOrBuildergetTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;DurationgetWorkflowRunTimeout()Timeout of a single workflow run.Duration.BuildergetWorkflowRunTimeoutBuilder()Timeout of a single workflow run.DurationOrBuildergetWorkflowRunTimeoutOrBuilder()Timeout of a single workflow run.longgetWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported withDurationgetWorkflowTaskTimeout()Timeout of a single workflow task.Duration.BuildergetWorkflowTaskTimeoutBuilder()Timeout of a single workflow task.DurationOrBuildergetWorkflowTaskTimeoutOrBuilder()Timeout of a single workflow task.WorkflowTypegetWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 2;WorkflowType.BuildergetWorkflowTypeBuilder().temporal.api.common.v1.WorkflowType workflow_type = 2;WorkflowTypeOrBuildergetWorkflowTypeOrBuilder().temporal.api.common.v1.WorkflowType workflow_type = 2;booleanhasBackoffStartInterval()TODO: How and is this used?booleanhasFailure()TODO: David are these right? Deprecated.booleanhasHeader().temporal.api.common.v1.Header header = 12;booleanhasInput().temporal.api.common.v1.Payloads input = 4;booleanhasLastCompletionResult()TODO: Is this the result of *this* workflow as it continued-as-new?booleanhasMemo().temporal.api.common.v1.Memo memo = 13;booleanhasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 14;booleanhasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;booleanhasWorkflowRunTimeout()Timeout of a single workflow run.booleanhasWorkflowTaskTimeout()Timeout of a single workflow task.booleanhasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeBackoffStartInterval(Duration value)TODO: How and is this used?WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeFailure(Failure value)TODO: David are these right? Deprecated.WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeFrom(com.google.protobuf.Message other)WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeFrom(WorkflowExecutionContinuedAsNewEventAttributes other)WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeHeader(Header value).temporal.api.common.v1.Header header = 12;WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeInput(Payloads value).temporal.api.common.v1.Payloads input = 4;WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeLastCompletionResult(Payloads value)TODO: Is this the result of *this* workflow as it continued-as-new?WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeMemo(Memo value).temporal.api.common.v1.Memo memo = 13;WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 14;WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeTaskQueue(TaskQueue value).temporal.api.taskqueue.v1.TaskQueue task_queue = 3;WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeWorkflowRunTimeout(Duration value)Timeout of a single workflow run.WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeWorkflowTaskTimeout(Duration value)Timeout of a single workflow task.WorkflowExecutionContinuedAsNewEventAttributes.BuildermergeWorkflowType(WorkflowType value).temporal.api.common.v1.WorkflowType workflow_type = 2;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetBackoffStartInterval(Duration value)TODO: How and is this used?WorkflowExecutionContinuedAsNewEventAttributes.BuildersetBackoffStartInterval(Duration.Builder builderForValue)TODO: How and is this used?WorkflowExecutionContinuedAsNewEventAttributes.BuildersetFailure(Failure value)TODO: David are these right? Deprecated.WorkflowExecutionContinuedAsNewEventAttributes.BuildersetFailure(Failure.Builder builderForValue)TODO: David are these right? Deprecated.WorkflowExecutionContinuedAsNewEventAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionContinuedAsNewEventAttributes.BuildersetHeader(Header value).temporal.api.common.v1.Header header = 12;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetHeader(Header.Builder builderForValue).temporal.api.common.v1.Header header = 12;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetInheritBuildId(boolean value)If this is set, the new execution inherits the Build ID of the current execution.WorkflowExecutionContinuedAsNewEventAttributes.BuildersetInitiator(ContinueAsNewInitiator value).temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetInitiatorValue(int value).temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetInput(Payloads value).temporal.api.common.v1.Payloads input = 4;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetInput(Payloads.Builder builderForValue).temporal.api.common.v1.Payloads input = 4;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetLastCompletionResult(Payloads value)TODO: Is this the result of *this* workflow as it continued-as-new?WorkflowExecutionContinuedAsNewEventAttributes.BuildersetLastCompletionResult(Payloads.Builder builderForValue)TODO: Is this the result of *this* workflow as it continued-as-new?WorkflowExecutionContinuedAsNewEventAttributes.BuildersetMemo(Memo value).temporal.api.common.v1.Memo memo = 13;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetMemo(Memo.Builder builderForValue).temporal.api.common.v1.Memo memo = 13;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetNewExecutionRunId(java.lang.String value)The run ID of the new workflow started by this continue-as-newWorkflowExecutionContinuedAsNewEventAttributes.BuildersetNewExecutionRunIdBytes(com.google.protobuf.ByteString value)The run ID of the new workflow started by this continue-as-newWorkflowExecutionContinuedAsNewEventAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkflowExecutionContinuedAsNewEventAttributes.BuildersetSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 14;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetSearchAttributes(SearchAttributes.Builder builderForValue).temporal.api.common.v1.SearchAttributes search_attributes = 14;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetTaskQueue(TaskQueue value).temporal.api.taskqueue.v1.TaskQueue task_queue = 3;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetTaskQueue(TaskQueue.Builder builderForValue).temporal.api.taskqueue.v1.TaskQueue task_queue = 3;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionContinuedAsNewEventAttributes.BuildersetWorkflowRunTimeout(Duration value)Timeout of a single workflow run.WorkflowExecutionContinuedAsNewEventAttributes.BuildersetWorkflowRunTimeout(Duration.Builder builderForValue)Timeout of a single workflow run.WorkflowExecutionContinuedAsNewEventAttributes.BuildersetWorkflowTaskCompletedEventId(long value)The `WORKFLOW_TASK_COMPLETED` event which this command was reported withWorkflowExecutionContinuedAsNewEventAttributes.BuildersetWorkflowTaskTimeout(Duration value)Timeout of a single workflow task.WorkflowExecutionContinuedAsNewEventAttributes.BuildersetWorkflowTaskTimeout(Duration.Builder builderForValue)Timeout of a single workflow task.WorkflowExecutionContinuedAsNewEventAttributes.BuildersetWorkflowType(WorkflowType value).temporal.api.common.v1.WorkflowType workflow_type = 2;WorkflowExecutionContinuedAsNewEventAttributes.BuildersetWorkflowType(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>
-
clear
public 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
public WorkflowExecutionContinuedAsNewEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionContinuedAsNewEventAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionContinuedAsNewEventAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionContinuedAsNewEventAttributes.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, java.lang.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, java.lang.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, java.lang.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 java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionContinuedAsNewEventAttributes.Builder>- Throws:
java.io.IOException
-
getNewExecutionRunId
public java.lang.String 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
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setNewExecutionRunId(java.lang.String value)
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
public WorkflowExecutionContinuedAsNewEventAttributes.Builder 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
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;- Specified by:
getWorkflowTypein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The workflowType.
-
setWorkflowType
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowType(WorkflowType value)
.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
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
clearWorkflowType
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
getWorkflowTypeBuilder
public WorkflowType.Builder getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder 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
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Specified by:
getTaskQueuein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The taskQueue.
-
setTaskQueue
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setTaskQueue(TaskQueue value)
.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
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeTaskQueue(TaskQueue value)
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
-
clearTaskQueue
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
-
getTaskQueueBuilder
public TaskQueue.Builder getTaskQueueBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder 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
public Payloads getInput()
.temporal.api.common.v1.Payloads input = 4;- Specified by:
getInputin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The input.
-
setInput
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInput(Payloads value)
.temporal.api.common.v1.Payloads input = 4;
-
setInput
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInput(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads input = 4;
-
mergeInput
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeInput(Payloads value)
.temporal.api.common.v1.Payloads input = 4;
-
clearInput
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearInput()
.temporal.api.common.v1.Payloads input = 4;
-
getInputBuilder
public Payloads.Builder getInputBuilder()
.temporal.api.common.v1.Payloads input = 4;
-
getInputOrBuilder
public PayloadsOrBuilder 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 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(Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;
-
setWorkflowRunTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowRunTimeout(Duration.Builder builderForValue)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;
-
mergeWorkflowRunTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeWorkflowRunTimeout(Duration value)
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;
-
clearWorkflowRunTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearWorkflowRunTimeout()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;
-
getWorkflowRunTimeoutBuilder
public Duration.Builder getWorkflowRunTimeoutBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5;
-
getWorkflowRunTimeoutOrBuilder
public 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 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(Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;
-
setWorkflowTaskTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setWorkflowTaskTimeout(Duration.Builder builderForValue)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;
-
mergeWorkflowTaskTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeWorkflowTaskTimeout(Duration value)
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;
-
clearWorkflowTaskTimeout
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;
-
getWorkflowTaskTimeoutBuilder
public Duration.Builder getWorkflowTaskTimeoutBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6;
-
getWorkflowTaskTimeoutOrBuilder
public 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
public WorkflowExecutionContinuedAsNewEventAttributes.Builder 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()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8;- Specified by:
hasBackoffStartIntervalin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the backoffStartInterval field is set.
-
getBackoffStartInterval
public Duration getBackoffStartInterval()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8;- Specified by:
getBackoffStartIntervalin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The backoffStartInterval.
-
setBackoffStartInterval
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setBackoffStartInterval(Duration value)
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8;
-
setBackoffStartInterval
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setBackoffStartInterval(Duration.Builder builderForValue)
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8;
-
mergeBackoffStartInterval
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeBackoffStartInterval(Duration value)
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8;
-
clearBackoffStartInterval
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearBackoffStartInterval()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8;
-
getBackoffStartIntervalBuilder
public Duration.Builder getBackoffStartIntervalBuilder()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8;
-
getBackoffStartIntervalOrBuilder
public DurationOrBuilder getBackoffStartIntervalOrBuilder()
TODO: How and is this used?
.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
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInitiatorValue(int value)
.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
public ContinueAsNewInitiator 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
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearInitiator()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;- Returns:
- This builder for chaining.
-
hasFailure
public boolean hasFailure()
TODO: David are these right? 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;- Specified by:
hasFailurein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
public Failure getFailure()
TODO: David are these right? 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;- Specified by:
getFailurein interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The failure.
-
setFailure
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setFailure(Failure value)
TODO: David are these right? 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;
-
setFailure
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setFailure(Failure.Builder builderForValue)
TODO: David are these right? 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;
-
mergeFailure
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeFailure(Failure value)
TODO: David are these right? 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;
-
clearFailure
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearFailure()
TODO: David are these right? 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;
-
getFailureBuilder
public Failure.Builder getFailureBuilder()
TODO: David are these right? 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;
-
getFailureOrBuilder
public FailureOrBuilder getFailureOrBuilder()
TODO: David are these right? 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;- Specified by:
getFailureOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
hasLastCompletionResult
public boolean hasLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;- Specified by:
hasLastCompletionResultin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
public Payloads getLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;- Specified by:
getLastCompletionResultin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The lastCompletionResult.
-
setLastCompletionResult
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setLastCompletionResult(Payloads value)
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
-
setLastCompletionResult
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setLastCompletionResult(Payloads.Builder builderForValue)
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
-
mergeLastCompletionResult
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeLastCompletionResult(Payloads value)
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
-
clearLastCompletionResult
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
-
getLastCompletionResultBuilder
public Payloads.Builder getLastCompletionResultBuilder()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
-
getLastCompletionResultOrBuilder
public PayloadsOrBuilder getLastCompletionResultOrBuilder()
TODO: Is this the result of *this* workflow as it continued-as-new?
.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
public Header getHeader()
.temporal.api.common.v1.Header header = 12;- Specified by:
getHeaderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The header.
-
setHeader
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setHeader(Header value)
.temporal.api.common.v1.Header header = 12;
-
setHeader
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 12;
-
mergeHeader
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeHeader(Header value)
.temporal.api.common.v1.Header header = 12;
-
clearHeader
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearHeader()
.temporal.api.common.v1.Header header = 12;
-
getHeaderBuilder
public Header.Builder getHeaderBuilder()
.temporal.api.common.v1.Header header = 12;
-
getHeaderOrBuilder
public HeaderOrBuilder 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
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 13;- Specified by:
getMemoin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The memo.
-
setMemo
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setMemo(Memo value)
.temporal.api.common.v1.Memo memo = 13;
-
setMemo
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setMemo(Memo.Builder builderForValue)
.temporal.api.common.v1.Memo memo = 13;
-
mergeMemo
public WorkflowExecutionContinuedAsNewEventAttributes.Builder mergeMemo(Memo value)
.temporal.api.common.v1.Memo memo = 13;
-
clearMemo
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearMemo()
.temporal.api.common.v1.Memo memo = 13;
-
getMemoBuilder
public Memo.Builder getMemoBuilder()
.temporal.api.common.v1.Memo memo = 13;
-
getMemoOrBuilder
public MemoOrBuilder 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
public SearchAttributes 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
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
-
getSearchAttributesBuilder
public SearchAttributes.Builder getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;- Specified by:
getSearchAttributesOrBuilderin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder
-
getInheritBuildId
public boolean getInheritBuildId()
If 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.
bool inherit_build_id = 15;- Specified by:
getInheritBuildIdin interfaceWorkflowExecutionContinuedAsNewEventAttributesOrBuilder- Returns:
- The inheritBuildId.
-
setInheritBuildId
public WorkflowExecutionContinuedAsNewEventAttributes.Builder setInheritBuildId(boolean value)
If 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.
bool inherit_build_id = 15;- Parameters:
value- The inheritBuildId to set.- Returns:
- This builder for chaining.
-
clearInheritBuildId
public WorkflowExecutionContinuedAsNewEventAttributes.Builder clearInheritBuildId()
If 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.
bool inherit_build_id = 15;- 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>
-
-