Class WorkflowExecutionInfo.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • clear

        public WorkflowExecutionInfo.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • getDefaultInstanceForType

        public WorkflowExecutionInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public WorkflowExecutionInfo build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public WorkflowExecutionInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public WorkflowExecutionInfo.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • setField

        public WorkflowExecutionInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • clearField

        public WorkflowExecutionInfo.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • clearOneof

        public WorkflowExecutionInfo.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • addRepeatedField

        public WorkflowExecutionInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionInfo.Builder>
        Throws:
        java.io.IOException
      • hasExecution

        public boolean hasExecution()
        .temporal.api.common.v1.WorkflowExecution execution = 1;
        Specified by:
        hasExecution in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the execution field is set.
      • getExecutionBuilder

        public WorkflowExecution.Builder getExecutionBuilder()
        .temporal.api.common.v1.WorkflowExecution execution = 1;
      • hasType

        public boolean hasType()
        .temporal.api.common.v1.WorkflowType type = 2;
        Specified by:
        hasType in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the type field is set.
      • getTypeBuilder

        public WorkflowType.Builder getTypeBuilder()
        .temporal.api.common.v1.WorkflowType type = 2;
      • getStartTimeBuilder

        public Timestamp.Builder getStartTimeBuilder()
        .google.protobuf.Timestamp start_time = 3;
      • getCloseTimeBuilder

        public Timestamp.Builder getCloseTimeBuilder()
        .google.protobuf.Timestamp close_time = 4;
      • getStatusValue

        public int getStatusValue()
        .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
        Specified by:
        getStatusValue in interface WorkflowExecutionInfoOrBuilder
        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.
      • clearStatus

        public WorkflowExecutionInfo.Builder clearStatus()
        .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
        Returns:
        This builder for chaining.
      • setHistoryLength

        public WorkflowExecutionInfo.Builder setHistoryLength​(long value)
        int64 history_length = 6;
        Parameters:
        value - The historyLength to set.
        Returns:
        This builder for chaining.
      • 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:
        hasParentExecution in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the parentExecution field is set.
      • 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;
      • getExecutionTimeBuilder

        public Timestamp.Builder getExecutionTimeBuilder()
        .google.protobuf.Timestamp execution_time = 9;
      • getMemoBuilder

        public Memo.Builder getMemoBuilder()
        .temporal.api.common.v1.Memo memo = 10;
      • hasSearchAttributes

        public boolean hasSearchAttributes()
        .temporal.api.common.v1.SearchAttributes search_attributes = 11;
        Specified by:
        hasSearchAttributes in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the searchAttributes field is set.
      • 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;
      • hasAutoResetPoints

        public boolean hasAutoResetPoints()
        .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
        Specified by:
        hasAutoResetPoints in interface WorkflowExecutionInfoOrBuilder
        Returns:
        Whether the autoResetPoints field is set.
      • 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;
      • setTaskQueue

        public WorkflowExecutionInfo.Builder setTaskQueue​(java.lang.String value)
        string task_queue = 13;
        Parameters:
        value - The taskQueue to set.
        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.
      • 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.
      • 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:
        hasMostRecentWorkerVersionStamp in interface WorkflowExecutionInfoOrBuilder
        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:
        getMostRecentWorkerVersionStamp in interface WorkflowExecutionInfoOrBuilder
        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;
      • 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:
        hasExecutionDuration in interface WorkflowExecutionInfoOrBuilder
        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:
        getExecutionDuration in interface WorkflowExecutionInfoOrBuilder
        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;
      • 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:
        hasRootExecution in interface WorkflowExecutionInfoOrBuilder
        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:
        getRootExecution in interface WorkflowExecutionInfoOrBuilder
        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:
        getRootExecutionOrBuilder in interface WorkflowExecutionInfoOrBuilder
      • 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:
        getAssignedBuildId in interface WorkflowExecutionInfoOrBuilder
        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:
        getAssignedBuildIdBytes in interface WorkflowExecutionInfoOrBuilder
        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:
        getInheritedBuildId in interface WorkflowExecutionInfoOrBuilder
        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:
        getInheritedBuildIdBytes in interface WorkflowExecutionInfoOrBuilder
        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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
      • mergeUnknownFields

        public final WorkflowExecutionInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>