Package io.temporal.api.workflow.v1
Class WorkflowExecutionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
-
- io.temporal.api.workflow.v1.WorkflowExecutionInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionInfoOrBuilder,java.lang.Cloneable
- Enclosing class:
- WorkflowExecutionInfo
public static final class WorkflowExecutionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder> implements WorkflowExecutionInfoOrBuilder
Protobuf typetemporal.api.workflow.v1.WorkflowExecutionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionInfobuild()WorkflowExecutionInfobuildPartial()WorkflowExecutionInfo.Builderclear()WorkflowExecutionInfo.BuilderclearAssignedBuildId()The currently assigned build ID for this execution.WorkflowExecutionInfo.BuilderclearAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;WorkflowExecutionInfo.BuilderclearCloseTime().google.protobuf.Timestamp close_time = 4;WorkflowExecutionInfo.BuilderclearExecution().temporal.api.common.v1.WorkflowExecution execution = 1;WorkflowExecutionInfo.BuilderclearExecutionDuration()Workflow execution duration is defined as difference between close time and execution time.WorkflowExecutionInfo.BuilderclearExecutionTime().google.protobuf.Timestamp execution_time = 9;WorkflowExecutionInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkflowExecutionInfo.BuilderclearHistoryLength()int64 history_length = 6;WorkflowExecutionInfo.BuilderclearHistorySizeBytes()int64 history_size_bytes = 15;WorkflowExecutionInfo.BuilderclearInheritedBuildId()Build ID inherited from a previous/parent execution.WorkflowExecutionInfo.BuilderclearMemo().temporal.api.common.v1.Memo memo = 10;WorkflowExecutionInfo.BuilderclearMostRecentWorkerVersionStamp()If set, the most recent worker version stamp that appeared in a workflow task completionWorkflowExecutionInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkflowExecutionInfo.BuilderclearParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;WorkflowExecutionInfo.BuilderclearParentNamespaceId()string parent_namespace_id = 7;WorkflowExecutionInfo.BuilderclearRootExecution()Contains information about the root workflow execution.WorkflowExecutionInfo.BuilderclearSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 11;WorkflowExecutionInfo.BuilderclearStartTime().google.protobuf.Timestamp start_time = 3;WorkflowExecutionInfo.BuilderclearStateTransitionCount()int64 state_transition_count = 14;WorkflowExecutionInfo.BuilderclearStatus().temporal.api.enums.v1.WorkflowExecutionStatus status = 5;WorkflowExecutionInfo.BuilderclearTaskQueue()string task_queue = 13;WorkflowExecutionInfo.BuilderclearType().temporal.api.common.v1.WorkflowType type = 2;WorkflowExecutionInfo.Builderclone()java.lang.StringgetAssignedBuildId()The currently assigned build ID for this execution.com.google.protobuf.ByteStringgetAssignedBuildIdBytes()The currently assigned build ID for this execution.ResetPointsgetAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;ResetPoints.BuildergetAutoResetPointsBuilder().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;ResetPointsOrBuildergetAutoResetPointsOrBuilder().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;TimestampgetCloseTime().google.protobuf.Timestamp close_time = 4;Timestamp.BuildergetCloseTimeBuilder().google.protobuf.Timestamp close_time = 4;TimestampOrBuildergetCloseTimeOrBuilder().google.protobuf.Timestamp close_time = 4;WorkflowExecutionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()WorkflowExecutiongetExecution().temporal.api.common.v1.WorkflowExecution execution = 1;WorkflowExecution.BuildergetExecutionBuilder().temporal.api.common.v1.WorkflowExecution execution = 1;DurationgetExecutionDuration()Workflow execution duration is defined as difference between close time and execution time.Duration.BuildergetExecutionDurationBuilder()Workflow execution duration is defined as difference between close time and execution time.DurationOrBuildergetExecutionDurationOrBuilder()Workflow execution duration is defined as difference between close time and execution time.WorkflowExecutionOrBuildergetExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution execution = 1;TimestampgetExecutionTime().google.protobuf.Timestamp execution_time = 9;Timestamp.BuildergetExecutionTimeBuilder().google.protobuf.Timestamp execution_time = 9;TimestampOrBuildergetExecutionTimeOrBuilder().google.protobuf.Timestamp execution_time = 9;longgetHistoryLength()int64 history_length = 6;longgetHistorySizeBytes()int64 history_size_bytes = 15;java.lang.StringgetInheritedBuildId()Build ID inherited from a previous/parent execution.com.google.protobuf.ByteStringgetInheritedBuildIdBytes()Build ID inherited from a previous/parent execution.MemogetMemo().temporal.api.common.v1.Memo memo = 10;Memo.BuildergetMemoBuilder().temporal.api.common.v1.Memo memo = 10;MemoOrBuildergetMemoOrBuilder().temporal.api.common.v1.Memo memo = 10;WorkerVersionStampgetMostRecentWorkerVersionStamp()If set, the most recent worker version stamp that appeared in a workflow task completionWorkerVersionStamp.BuildergetMostRecentWorkerVersionStampBuilder()If set, the most recent worker version stamp that appeared in a workflow task completionWorkerVersionStampOrBuildergetMostRecentWorkerVersionStampOrBuilder()If set, the most recent worker version stamp that appeared in a workflow task completionWorkflowExecutiongetParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;WorkflowExecution.BuildergetParentExecutionBuilder().temporal.api.common.v1.WorkflowExecution parent_execution = 8;WorkflowExecutionOrBuildergetParentExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution parent_execution = 8;java.lang.StringgetParentNamespaceId()string parent_namespace_id = 7;com.google.protobuf.ByteStringgetParentNamespaceIdBytes()string parent_namespace_id = 7;WorkflowExecutiongetRootExecution()Contains information about the root workflow execution.WorkflowExecution.BuildergetRootExecutionBuilder()Contains information about the root workflow execution.WorkflowExecutionOrBuildergetRootExecutionOrBuilder()Contains information about the root workflow execution.SearchAttributesgetSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 11;SearchAttributes.BuildergetSearchAttributesBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 11;SearchAttributesOrBuildergetSearchAttributesOrBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 11;TimestampgetStartTime().google.protobuf.Timestamp start_time = 3;Timestamp.BuildergetStartTimeBuilder().google.protobuf.Timestamp start_time = 3;TimestampOrBuildergetStartTimeOrBuilder().google.protobuf.Timestamp start_time = 3;longgetStateTransitionCount()int64 state_transition_count = 14;WorkflowExecutionStatusgetStatus().temporal.api.enums.v1.WorkflowExecutionStatus status = 5;intgetStatusValue().temporal.api.enums.v1.WorkflowExecutionStatus status = 5;java.lang.StringgetTaskQueue()string task_queue = 13;com.google.protobuf.ByteStringgetTaskQueueBytes()string task_queue = 13;WorkflowTypegetType().temporal.api.common.v1.WorkflowType type = 2;WorkflowType.BuildergetTypeBuilder().temporal.api.common.v1.WorkflowType type = 2;WorkflowTypeOrBuildergetTypeOrBuilder().temporal.api.common.v1.WorkflowType type = 2;booleanhasAutoResetPoints().temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;booleanhasCloseTime().google.protobuf.Timestamp close_time = 4;booleanhasExecution().temporal.api.common.v1.WorkflowExecution execution = 1;booleanhasExecutionDuration()Workflow execution duration is defined as difference between close time and execution time.booleanhasExecutionTime().google.protobuf.Timestamp execution_time = 9;booleanhasMemo().temporal.api.common.v1.Memo memo = 10;booleanhasMostRecentWorkerVersionStamp()If set, the most recent worker version stamp that appeared in a workflow task completionbooleanhasParentExecution().temporal.api.common.v1.WorkflowExecution parent_execution = 8;booleanhasRootExecution()Contains information about the root workflow execution.booleanhasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 11;booleanhasStartTime().google.protobuf.Timestamp start_time = 3;booleanhasType().temporal.api.common.v1.WorkflowType type = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkflowExecutionInfo.BuildermergeAutoResetPoints(ResetPoints value).temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;WorkflowExecutionInfo.BuildermergeCloseTime(Timestamp value).google.protobuf.Timestamp close_time = 4;WorkflowExecutionInfo.BuildermergeExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution execution = 1;WorkflowExecutionInfo.BuildermergeExecutionDuration(Duration value)Workflow execution duration is defined as difference between close time and execution time.WorkflowExecutionInfo.BuildermergeExecutionTime(Timestamp value).google.protobuf.Timestamp execution_time = 9;WorkflowExecutionInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkflowExecutionInfo.BuildermergeFrom(com.google.protobuf.Message other)WorkflowExecutionInfo.BuildermergeFrom(WorkflowExecutionInfo other)WorkflowExecutionInfo.BuildermergeMemo(Memo value).temporal.api.common.v1.Memo memo = 10;WorkflowExecutionInfo.BuildermergeMostRecentWorkerVersionStamp(WorkerVersionStamp value)If set, the most recent worker version stamp that appeared in a workflow task completionWorkflowExecutionInfo.BuildermergeParentExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution parent_execution = 8;WorkflowExecutionInfo.BuildermergeRootExecution(WorkflowExecution value)Contains information about the root workflow execution.WorkflowExecutionInfo.BuildermergeSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 11;WorkflowExecutionInfo.BuildermergeStartTime(Timestamp value).google.protobuf.Timestamp start_time = 3;WorkflowExecutionInfo.BuildermergeType(WorkflowType value).temporal.api.common.v1.WorkflowType type = 2;WorkflowExecutionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionInfo.BuildersetAssignedBuildId(java.lang.String value)The currently assigned build ID for this execution.WorkflowExecutionInfo.BuildersetAssignedBuildIdBytes(com.google.protobuf.ByteString value)The currently assigned build ID for this execution.WorkflowExecutionInfo.BuildersetAutoResetPoints(ResetPoints value).temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;WorkflowExecutionInfo.BuildersetAutoResetPoints(ResetPoints.Builder builderForValue).temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;WorkflowExecutionInfo.BuildersetCloseTime(Timestamp value).google.protobuf.Timestamp close_time = 4;WorkflowExecutionInfo.BuildersetCloseTime(Timestamp.Builder builderForValue).google.protobuf.Timestamp close_time = 4;WorkflowExecutionInfo.BuildersetExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution execution = 1;WorkflowExecutionInfo.BuildersetExecution(WorkflowExecution.Builder builderForValue).temporal.api.common.v1.WorkflowExecution execution = 1;WorkflowExecutionInfo.BuildersetExecutionDuration(Duration value)Workflow execution duration is defined as difference between close time and execution time.WorkflowExecutionInfo.BuildersetExecutionDuration(Duration.Builder builderForValue)Workflow execution duration is defined as difference between close time and execution time.WorkflowExecutionInfo.BuildersetExecutionTime(Timestamp value).google.protobuf.Timestamp execution_time = 9;WorkflowExecutionInfo.BuildersetExecutionTime(Timestamp.Builder builderForValue).google.protobuf.Timestamp execution_time = 9;WorkflowExecutionInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionInfo.BuildersetHistoryLength(long value)int64 history_length = 6;WorkflowExecutionInfo.BuildersetHistorySizeBytes(long value)int64 history_size_bytes = 15;WorkflowExecutionInfo.BuildersetInheritedBuildId(java.lang.String value)Build ID inherited from a previous/parent execution.WorkflowExecutionInfo.BuildersetInheritedBuildIdBytes(com.google.protobuf.ByteString value)Build ID inherited from a previous/parent execution.WorkflowExecutionInfo.BuildersetMemo(Memo value).temporal.api.common.v1.Memo memo = 10;WorkflowExecutionInfo.BuildersetMemo(Memo.Builder builderForValue).temporal.api.common.v1.Memo memo = 10;WorkflowExecutionInfo.BuildersetMostRecentWorkerVersionStamp(WorkerVersionStamp value)If set, the most recent worker version stamp that appeared in a workflow task completionWorkflowExecutionInfo.BuildersetMostRecentWorkerVersionStamp(WorkerVersionStamp.Builder builderForValue)If set, the most recent worker version stamp that appeared in a workflow task completionWorkflowExecutionInfo.BuildersetParentExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution parent_execution = 8;WorkflowExecutionInfo.BuildersetParentExecution(WorkflowExecution.Builder builderForValue).temporal.api.common.v1.WorkflowExecution parent_execution = 8;WorkflowExecutionInfo.BuildersetParentNamespaceId(java.lang.String value)string parent_namespace_id = 7;WorkflowExecutionInfo.BuildersetParentNamespaceIdBytes(com.google.protobuf.ByteString value)string parent_namespace_id = 7;WorkflowExecutionInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkflowExecutionInfo.BuildersetRootExecution(WorkflowExecution value)Contains information about the root workflow execution.WorkflowExecutionInfo.BuildersetRootExecution(WorkflowExecution.Builder builderForValue)Contains information about the root workflow execution.WorkflowExecutionInfo.BuildersetSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 11;WorkflowExecutionInfo.BuildersetSearchAttributes(SearchAttributes.Builder builderForValue).temporal.api.common.v1.SearchAttributes search_attributes = 11;WorkflowExecutionInfo.BuildersetStartTime(Timestamp value).google.protobuf.Timestamp start_time = 3;WorkflowExecutionInfo.BuildersetStartTime(Timestamp.Builder builderForValue).google.protobuf.Timestamp start_time = 3;WorkflowExecutionInfo.BuildersetStateTransitionCount(long value)int64 state_transition_count = 14;WorkflowExecutionInfo.BuildersetStatus(WorkflowExecutionStatus value).temporal.api.enums.v1.WorkflowExecutionStatus status = 5;WorkflowExecutionInfo.BuildersetStatusValue(int value).temporal.api.enums.v1.WorkflowExecutionStatus status = 5;WorkflowExecutionInfo.BuildersetTaskQueue(java.lang.String value)string task_queue = 13;WorkflowExecutionInfo.BuildersetTaskQueueBytes(com.google.protobuf.ByteString value)string task_queue = 13;WorkflowExecutionInfo.BuildersetType(WorkflowType value).temporal.api.common.v1.WorkflowType type = 2;WorkflowExecutionInfo.BuildersetType(WorkflowType.Builder builderForValue).temporal.api.common.v1.WorkflowType type = 2;WorkflowExecutionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<WorkflowExecutionInfo.Builder>
-
clear
public WorkflowExecutionInfo.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<WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
-
getDefaultInstanceForType
public WorkflowExecutionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
-
setField
public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
-
clearField
public WorkflowExecutionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
-
clearOneof
public WorkflowExecutionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
-
setRepeatedField
public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
-
addRepeatedField
public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
-
mergeFrom
public WorkflowExecutionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionInfo.Builder>
-
mergeFrom
public WorkflowExecutionInfo.Builder mergeFrom(WorkflowExecutionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
-
mergeFrom
public WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>- Throws:
java.io.IOException
-
hasExecution
public boolean hasExecution()
.temporal.api.common.v1.WorkflowExecution execution = 1;- Specified by:
hasExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the execution field is set.
-
getExecution
public WorkflowExecution getExecution()
.temporal.api.common.v1.WorkflowExecution execution = 1;- Specified by:
getExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The execution.
-
setExecution
public WorkflowExecutionInfo.Builder setExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution execution = 1;
-
setExecution
public WorkflowExecutionInfo.Builder setExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution execution = 1;
-
mergeExecution
public WorkflowExecutionInfo.Builder mergeExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution execution = 1;
-
clearExecution
public WorkflowExecutionInfo.Builder clearExecution()
.temporal.api.common.v1.WorkflowExecution execution = 1;
-
getExecutionBuilder
public WorkflowExecution.Builder getExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution execution = 1;
-
getExecutionOrBuilder
public WorkflowExecutionOrBuilder getExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution execution = 1;- Specified by:
getExecutionOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasType
public boolean hasType()
.temporal.api.common.v1.WorkflowType type = 2;- Specified by:
hasTypein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
public WorkflowType getType()
.temporal.api.common.v1.WorkflowType type = 2;- Specified by:
getTypein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The type.
-
setType
public WorkflowExecutionInfo.Builder setType(WorkflowType value)
.temporal.api.common.v1.WorkflowType type = 2;
-
setType
public WorkflowExecutionInfo.Builder setType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType type = 2;
-
mergeType
public WorkflowExecutionInfo.Builder mergeType(WorkflowType value)
.temporal.api.common.v1.WorkflowType type = 2;
-
clearType
public WorkflowExecutionInfo.Builder clearType()
.temporal.api.common.v1.WorkflowType type = 2;
-
getTypeBuilder
public WorkflowType.Builder getTypeBuilder()
.temporal.api.common.v1.WorkflowType type = 2;
-
getTypeOrBuilder
public WorkflowTypeOrBuilder getTypeOrBuilder()
.temporal.api.common.v1.WorkflowType type = 2;- Specified by:
getTypeOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasStartTime
public boolean hasStartTime()
.google.protobuf.Timestamp start_time = 3;- Specified by:
hasStartTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public Timestamp getStartTime()
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The startTime.
-
setStartTime
public WorkflowExecutionInfo.Builder setStartTime(Timestamp value)
.google.protobuf.Timestamp start_time = 3;
-
setStartTime
public WorkflowExecutionInfo.Builder setStartTime(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp start_time = 3;
-
mergeStartTime
public WorkflowExecutionInfo.Builder mergeStartTime(Timestamp value)
.google.protobuf.Timestamp start_time = 3;
-
clearStartTime
public WorkflowExecutionInfo.Builder clearStartTime()
.google.protobuf.Timestamp start_time = 3;
-
getStartTimeBuilder
public Timestamp.Builder getStartTimeBuilder()
.google.protobuf.Timestamp start_time = 3;
-
getStartTimeOrBuilder
public TimestampOrBuilder getStartTimeOrBuilder()
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimeOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasCloseTime
public boolean hasCloseTime()
.google.protobuf.Timestamp close_time = 4;- Specified by:
hasCloseTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the closeTime field is set.
-
getCloseTime
public Timestamp getCloseTime()
.google.protobuf.Timestamp close_time = 4;- Specified by:
getCloseTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The closeTime.
-
setCloseTime
public WorkflowExecutionInfo.Builder setCloseTime(Timestamp value)
.google.protobuf.Timestamp close_time = 4;
-
setCloseTime
public WorkflowExecutionInfo.Builder setCloseTime(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp close_time = 4;
-
mergeCloseTime
public WorkflowExecutionInfo.Builder mergeCloseTime(Timestamp value)
.google.protobuf.Timestamp close_time = 4;
-
clearCloseTime
public WorkflowExecutionInfo.Builder clearCloseTime()
.google.protobuf.Timestamp close_time = 4;
-
getCloseTimeBuilder
public Timestamp.Builder getCloseTimeBuilder()
.google.protobuf.Timestamp close_time = 4;
-
getCloseTimeOrBuilder
public TimestampOrBuilder getCloseTimeOrBuilder()
.google.protobuf.Timestamp close_time = 4;- Specified by:
getCloseTimeOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getStatusValue
public int getStatusValue()
.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Specified by:
getStatusValuein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public WorkflowExecutionInfo.Builder setStatusValue(int value)
.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public WorkflowExecutionStatus getStatus()
.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Specified by:
getStatusin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The status.
-
setStatus
public WorkflowExecutionInfo.Builder setStatus(WorkflowExecutionStatus value)
.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public WorkflowExecutionInfo.Builder clearStatus()
.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Returns:
- This builder for chaining.
-
getHistoryLength
public long getHistoryLength()
int64 history_length = 6;- Specified by:
getHistoryLengthin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The historyLength.
-
setHistoryLength
public WorkflowExecutionInfo.Builder setHistoryLength(long value)
int64 history_length = 6;- Parameters:
value- The historyLength to set.- Returns:
- This builder for chaining.
-
clearHistoryLength
public WorkflowExecutionInfo.Builder clearHistoryLength()
int64 history_length = 6;- Returns:
- This builder for chaining.
-
getParentNamespaceId
public java.lang.String getParentNamespaceId()
string parent_namespace_id = 7;- Specified by:
getParentNamespaceIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The parentNamespaceId.
-
getParentNamespaceIdBytes
public com.google.protobuf.ByteString getParentNamespaceIdBytes()
string parent_namespace_id = 7;- Specified by:
getParentNamespaceIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for parentNamespaceId.
-
setParentNamespaceId
public WorkflowExecutionInfo.Builder setParentNamespaceId(java.lang.String value)
string parent_namespace_id = 7;- Parameters:
value- The parentNamespaceId to set.- Returns:
- This builder for chaining.
-
clearParentNamespaceId
public WorkflowExecutionInfo.Builder clearParentNamespaceId()
string parent_namespace_id = 7;- Returns:
- This builder for chaining.
-
setParentNamespaceIdBytes
public WorkflowExecutionInfo.Builder setParentNamespaceIdBytes(com.google.protobuf.ByteString value)
string parent_namespace_id = 7;- Parameters:
value- The bytes for parentNamespaceId to set.- Returns:
- This builder for chaining.
-
hasParentExecution
public boolean hasParentExecution()
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Specified by:
hasParentExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the parentExecution field is set.
-
getParentExecution
public WorkflowExecution getParentExecution()
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Specified by:
getParentExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The parentExecution.
-
setParentExecution
public WorkflowExecutionInfo.Builder setParentExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;
-
setParentExecution
public WorkflowExecutionInfo.Builder setParentExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;
-
mergeParentExecution
public WorkflowExecutionInfo.Builder mergeParentExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;
-
clearParentExecution
public WorkflowExecutionInfo.Builder clearParentExecution()
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;
-
getParentExecutionBuilder
public WorkflowExecution.Builder getParentExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;
-
getParentExecutionOrBuilder
public WorkflowExecutionOrBuilder getParentExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution parent_execution = 8;- Specified by:
getParentExecutionOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasExecutionTime
public boolean hasExecutionTime()
.google.protobuf.Timestamp execution_time = 9;- Specified by:
hasExecutionTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the executionTime field is set.
-
getExecutionTime
public Timestamp getExecutionTime()
.google.protobuf.Timestamp execution_time = 9;- Specified by:
getExecutionTimein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The executionTime.
-
setExecutionTime
public WorkflowExecutionInfo.Builder setExecutionTime(Timestamp value)
.google.protobuf.Timestamp execution_time = 9;
-
setExecutionTime
public WorkflowExecutionInfo.Builder setExecutionTime(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp execution_time = 9;
-
mergeExecutionTime
public WorkflowExecutionInfo.Builder mergeExecutionTime(Timestamp value)
.google.protobuf.Timestamp execution_time = 9;
-
clearExecutionTime
public WorkflowExecutionInfo.Builder clearExecutionTime()
.google.protobuf.Timestamp execution_time = 9;
-
getExecutionTimeBuilder
public Timestamp.Builder getExecutionTimeBuilder()
.google.protobuf.Timestamp execution_time = 9;
-
getExecutionTimeOrBuilder
public TimestampOrBuilder getExecutionTimeOrBuilder()
.google.protobuf.Timestamp execution_time = 9;- Specified by:
getExecutionTimeOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasMemo
public boolean hasMemo()
.temporal.api.common.v1.Memo memo = 10;- Specified by:
hasMemoin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
public Memo getMemo()
.temporal.api.common.v1.Memo memo = 10;- Specified by:
getMemoin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The memo.
-
setMemo
public WorkflowExecutionInfo.Builder setMemo(Memo value)
.temporal.api.common.v1.Memo memo = 10;
-
setMemo
public WorkflowExecutionInfo.Builder setMemo(Memo.Builder builderForValue)
.temporal.api.common.v1.Memo memo = 10;
-
mergeMemo
public WorkflowExecutionInfo.Builder mergeMemo(Memo value)
.temporal.api.common.v1.Memo memo = 10;
-
clearMemo
public WorkflowExecutionInfo.Builder clearMemo()
.temporal.api.common.v1.Memo memo = 10;
-
getMemoBuilder
public Memo.Builder getMemoBuilder()
.temporal.api.common.v1.Memo memo = 10;
-
getMemoOrBuilder
public MemoOrBuilder getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 10;- Specified by:
getMemoOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 11;- Specified by:
hasSearchAttributesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 11;- Specified by:
getSearchAttributesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
public WorkflowExecutionInfo.Builder setSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 11;
-
setSearchAttributes
public WorkflowExecutionInfo.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
.temporal.api.common.v1.SearchAttributes search_attributes = 11;
-
mergeSearchAttributes
public WorkflowExecutionInfo.Builder mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 11;
-
clearSearchAttributes
public WorkflowExecutionInfo.Builder clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 11;
-
getSearchAttributesBuilder
public SearchAttributes.Builder getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 11;
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 11;- Specified by:
getSearchAttributesOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasAutoResetPoints
public boolean hasAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Specified by:
hasAutoResetPointsin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the autoResetPoints field is set.
-
getAutoResetPoints
public ResetPoints getAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Specified by:
getAutoResetPointsin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The autoResetPoints.
-
setAutoResetPoints
public WorkflowExecutionInfo.Builder setAutoResetPoints(ResetPoints value)
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
-
setAutoResetPoints
public WorkflowExecutionInfo.Builder setAutoResetPoints(ResetPoints.Builder builderForValue)
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
-
mergeAutoResetPoints
public WorkflowExecutionInfo.Builder mergeAutoResetPoints(ResetPoints value)
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
-
clearAutoResetPoints
public WorkflowExecutionInfo.Builder clearAutoResetPoints()
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
-
getAutoResetPointsBuilder
public ResetPoints.Builder getAutoResetPointsBuilder()
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
-
getAutoResetPointsOrBuilder
public ResetPointsOrBuilder getAutoResetPointsOrBuilder()
.temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;- Specified by:
getAutoResetPointsOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getTaskQueue
public java.lang.String getTaskQueue()
string task_queue = 13;- Specified by:
getTaskQueuein interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueBytes
public com.google.protobuf.ByteString getTaskQueueBytes()
string task_queue = 13;- Specified by:
getTaskQueueBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for taskQueue.
-
setTaskQueue
public WorkflowExecutionInfo.Builder setTaskQueue(java.lang.String value)
string task_queue = 13;- Parameters:
value- The taskQueue to set.- Returns:
- This builder for chaining.
-
clearTaskQueue
public WorkflowExecutionInfo.Builder clearTaskQueue()
string task_queue = 13;- Returns:
- This builder for chaining.
-
setTaskQueueBytes
public WorkflowExecutionInfo.Builder setTaskQueueBytes(com.google.protobuf.ByteString value)
string task_queue = 13;- Parameters:
value- The bytes for taskQueue to set.- Returns:
- This builder for chaining.
-
getStateTransitionCount
public long getStateTransitionCount()
int64 state_transition_count = 14;- Specified by:
getStateTransitionCountin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The stateTransitionCount.
-
setStateTransitionCount
public WorkflowExecutionInfo.Builder setStateTransitionCount(long value)
int64 state_transition_count = 14;- Parameters:
value- The stateTransitionCount to set.- Returns:
- This builder for chaining.
-
clearStateTransitionCount
public WorkflowExecutionInfo.Builder clearStateTransitionCount()
int64 state_transition_count = 14;- Returns:
- This builder for chaining.
-
getHistorySizeBytes
public long getHistorySizeBytes()
int64 history_size_bytes = 15;- Specified by:
getHistorySizeBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The historySizeBytes.
-
setHistorySizeBytes
public WorkflowExecutionInfo.Builder setHistorySizeBytes(long value)
int64 history_size_bytes = 15;- Parameters:
value- The historySizeBytes to set.- Returns:
- This builder for chaining.
-
clearHistorySizeBytes
public WorkflowExecutionInfo.Builder clearHistorySizeBytes()
int64 history_size_bytes = 15;- Returns:
- This builder for chaining.
-
hasMostRecentWorkerVersionStamp
public boolean hasMostRecentWorkerVersionStamp()
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;- Specified by:
hasMostRecentWorkerVersionStampin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the mostRecentWorkerVersionStamp field is set.
-
getMostRecentWorkerVersionStamp
public WorkerVersionStamp getMostRecentWorkerVersionStamp()
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;- Specified by:
getMostRecentWorkerVersionStampin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The mostRecentWorkerVersionStamp.
-
setMostRecentWorkerVersionStamp
public WorkflowExecutionInfo.Builder setMostRecentWorkerVersionStamp(WorkerVersionStamp value)
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
-
setMostRecentWorkerVersionStamp
public WorkflowExecutionInfo.Builder setMostRecentWorkerVersionStamp(WorkerVersionStamp.Builder builderForValue)
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
-
mergeMostRecentWorkerVersionStamp
public WorkflowExecutionInfo.Builder mergeMostRecentWorkerVersionStamp(WorkerVersionStamp value)
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
-
clearMostRecentWorkerVersionStamp
public WorkflowExecutionInfo.Builder clearMostRecentWorkerVersionStamp()
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
-
getMostRecentWorkerVersionStampBuilder
public WorkerVersionStamp.Builder getMostRecentWorkerVersionStampBuilder()
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;
-
getMostRecentWorkerVersionStampOrBuilder
public WorkerVersionStampOrBuilder getMostRecentWorkerVersionStampOrBuilder()
If set, the most recent worker version stamp that appeared in a workflow task completion
.temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16;- Specified by:
getMostRecentWorkerVersionStampOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasExecutionDuration
public boolean hasExecutionDuration()
Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;- Specified by:
hasExecutionDurationin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
public Duration getExecutionDuration()
Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;- Specified by:
getExecutionDurationin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The executionDuration.
-
setExecutionDuration
public WorkflowExecutionInfo.Builder setExecutionDuration(Duration value)
Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;
-
setExecutionDuration
public WorkflowExecutionInfo.Builder setExecutionDuration(Duration.Builder builderForValue)
Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;
-
mergeExecutionDuration
public WorkflowExecutionInfo.Builder mergeExecutionDuration(Duration value)
Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;
-
clearExecutionDuration
public WorkflowExecutionInfo.Builder clearExecutionDuration()
Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;
-
getExecutionDurationBuilder
public Duration.Builder getExecutionDurationBuilder()
Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;
-
getExecutionDurationOrBuilder
public DurationOrBuilder getExecutionDurationOrBuilder()
Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed.
.google.protobuf.Duration execution_duration = 17;- Specified by:
getExecutionDurationOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
hasRootExecution
public boolean hasRootExecution()
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;- Specified by:
hasRootExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- Whether the rootExecution field is set.
-
getRootExecution
public WorkflowExecution getRootExecution()
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;- Specified by:
getRootExecutionin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The rootExecution.
-
setRootExecution
public WorkflowExecutionInfo.Builder setRootExecution(WorkflowExecution value)
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;
-
setRootExecution
public WorkflowExecutionInfo.Builder setRootExecution(WorkflowExecution.Builder builderForValue)
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;
-
mergeRootExecution
public WorkflowExecutionInfo.Builder mergeRootExecution(WorkflowExecution value)
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;
-
clearRootExecution
public WorkflowExecutionInfo.Builder clearRootExecution()
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;
-
getRootExecutionBuilder
public WorkflowExecution.Builder getRootExecutionBuilder()
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;
-
getRootExecutionOrBuilder
public WorkflowExecutionOrBuilder getRootExecutionOrBuilder()
Contains information about the root workflow execution. The root workflow execution is defined as follows: 1. A workflow without parent workflow is its own root workflow. 2. A workflow that has a parent workflow has the same root workflow as its parent workflow. Note: workflows continued as new or reseted may or may not have parents, check examples below. Examples: Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3. - The root workflow of all three workflows is W1. Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3. - The root workflow of all three workflows is W1. Scenario 3: Workflow W1 continued as new W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3 - The root workflow of all three workflows is W1. Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2..temporal.api.common.v1.WorkflowExecution root_execution = 18;- Specified by:
getRootExecutionOrBuilderin interfaceWorkflowExecutionInfoOrBuilder
-
getAssignedBuildId
public java.lang.String getAssignedBuildId()
The currently assigned build ID for this execution. Presence of this value means worker versioning is used for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules. Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to this execution.
string assigned_build_id = 19;- Specified by:
getAssignedBuildIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The assignedBuildId.
-
getAssignedBuildIdBytes
public com.google.protobuf.ByteString getAssignedBuildIdBytes()
The currently assigned build ID for this execution. Presence of this value means worker versioning is used for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules. Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to this execution.
string assigned_build_id = 19;- Specified by:
getAssignedBuildIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for assignedBuildId.
-
setAssignedBuildId
public WorkflowExecutionInfo.Builder setAssignedBuildId(java.lang.String value)
The currently assigned build ID for this execution. Presence of this value means worker versioning is used for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules. Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to this execution.
string assigned_build_id = 19;- Parameters:
value- The assignedBuildId to set.- Returns:
- This builder for chaining.
-
clearAssignedBuildId
public WorkflowExecutionInfo.Builder clearAssignedBuildId()
The currently assigned build ID for this execution. Presence of this value means worker versioning is used for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules. Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to this execution.
string assigned_build_id = 19;- Returns:
- This builder for chaining.
-
setAssignedBuildIdBytes
public WorkflowExecutionInfo.Builder setAssignedBuildIdBytes(com.google.protobuf.ByteString value)
The currently assigned build ID for this execution. Presence of this value means worker versioning is used for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules. Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to this execution.
string assigned_build_id = 19;- Parameters:
value- The bytes for assignedBuildId to set.- Returns:
- This builder for chaining.
-
getInheritedBuildId
public java.lang.String getInheritedBuildId()
Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules.
string inherited_build_id = 20;- Specified by:
getInheritedBuildIdin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The inheritedBuildId.
-
getInheritedBuildIdBytes
public com.google.protobuf.ByteString getInheritedBuildIdBytes()
Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules.
string inherited_build_id = 20;- Specified by:
getInheritedBuildIdBytesin interfaceWorkflowExecutionInfoOrBuilder- Returns:
- The bytes for inheritedBuildId.
-
setInheritedBuildId
public WorkflowExecutionInfo.Builder setInheritedBuildId(java.lang.String value)
Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules.
string inherited_build_id = 20;- Parameters:
value- The inheritedBuildId to set.- Returns:
- This builder for chaining.
-
clearInheritedBuildId
public WorkflowExecutionInfo.Builder clearInheritedBuildId()
Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules.
string inherited_build_id = 20;- Returns:
- This builder for chaining.
-
setInheritedBuildIdBytes
public WorkflowExecutionInfo.Builder setInheritedBuildIdBytes(com.google.protobuf.ByteString value)
Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead of using the assignment rules.
string inherited_build_id = 20;- Parameters:
value- The bytes for inheritedBuildId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowExecutionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
-
mergeUnknownFields
public final WorkflowExecutionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
-
-