Interface WorkflowExecutionInfoOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    WorkflowExecutionInfo, WorkflowExecutionInfo.Builder

    @Generated(value="protoc",
               comments="annotations:WorkflowExecutionInfoOrBuilder.java.pb.meta")
    public interface WorkflowExecutionInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasExecution

        boolean hasExecution()
        .temporal.api.common.v1.WorkflowExecution execution = 1;
        Returns:
        Whether the execution field is set.
      • getExecution

        WorkflowExecution getExecution()
        .temporal.api.common.v1.WorkflowExecution execution = 1;
        Returns:
        The execution.
      • getExecutionOrBuilder

        WorkflowExecutionOrBuilder getExecutionOrBuilder()
        .temporal.api.common.v1.WorkflowExecution execution = 1;
      • hasType

        boolean hasType()
        .temporal.api.common.v1.WorkflowType type = 2;
        Returns:
        Whether the type field is set.
      • getType

        WorkflowType getType()
        .temporal.api.common.v1.WorkflowType type = 2;
        Returns:
        The type.
      • getTypeOrBuilder

        WorkflowTypeOrBuilder getTypeOrBuilder()
        .temporal.api.common.v1.WorkflowType type = 2;
      • hasStartTime

        boolean hasStartTime()
        .google.protobuf.Timestamp start_time = 3;
        Returns:
        Whether the startTime field is set.
      • getStartTime

        Timestamp getStartTime()
        .google.protobuf.Timestamp start_time = 3;
        Returns:
        The startTime.
      • getStartTimeOrBuilder

        TimestampOrBuilder getStartTimeOrBuilder()
        .google.protobuf.Timestamp start_time = 3;
      • hasCloseTime

        boolean hasCloseTime()
        .google.protobuf.Timestamp close_time = 4;
        Returns:
        Whether the closeTime field is set.
      • getCloseTime

        Timestamp getCloseTime()
        .google.protobuf.Timestamp close_time = 4;
        Returns:
        The closeTime.
      • getCloseTimeOrBuilder

        TimestampOrBuilder getCloseTimeOrBuilder()
        .google.protobuf.Timestamp close_time = 4;
      • getStatusValue

        int getStatusValue()
        .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        WorkflowExecutionStatus getStatus()
        .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
        Returns:
        The status.
      • getHistoryLength

        long getHistoryLength()
        int64 history_length = 6;
        Returns:
        The historyLength.
      • getParentNamespaceId

        java.lang.String getParentNamespaceId()
        string parent_namespace_id = 7;
        Returns:
        The parentNamespaceId.
      • getParentNamespaceIdBytes

        com.google.protobuf.ByteString getParentNamespaceIdBytes()
        string parent_namespace_id = 7;
        Returns:
        The bytes for parentNamespaceId.
      • hasParentExecution

        boolean hasParentExecution()
        .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
        Returns:
        Whether the parentExecution field is set.
      • getParentExecution

        WorkflowExecution getParentExecution()
        .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
        Returns:
        The parentExecution.
      • getParentExecutionOrBuilder

        WorkflowExecutionOrBuilder getParentExecutionOrBuilder()
        .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
      • hasExecutionTime

        boolean hasExecutionTime()
        .google.protobuf.Timestamp execution_time = 9;
        Returns:
        Whether the executionTime field is set.
      • getExecutionTime

        Timestamp getExecutionTime()
        .google.protobuf.Timestamp execution_time = 9;
        Returns:
        The executionTime.
      • getExecutionTimeOrBuilder

        TimestampOrBuilder getExecutionTimeOrBuilder()
        .google.protobuf.Timestamp execution_time = 9;
      • hasMemo

        boolean hasMemo()
        .temporal.api.common.v1.Memo memo = 10;
        Returns:
        Whether the memo field is set.
      • getMemo

        Memo getMemo()
        .temporal.api.common.v1.Memo memo = 10;
        Returns:
        The memo.
      • getMemoOrBuilder

        MemoOrBuilder getMemoOrBuilder()
        .temporal.api.common.v1.Memo memo = 10;
      • hasSearchAttributes

        boolean hasSearchAttributes()
        .temporal.api.common.v1.SearchAttributes search_attributes = 11;
        Returns:
        Whether the searchAttributes field is set.
      • getSearchAttributes

        SearchAttributes getSearchAttributes()
        .temporal.api.common.v1.SearchAttributes search_attributes = 11;
        Returns:
        The searchAttributes.
      • getSearchAttributesOrBuilder

        SearchAttributesOrBuilder getSearchAttributesOrBuilder()
        .temporal.api.common.v1.SearchAttributes search_attributes = 11;
      • hasAutoResetPoints

        boolean hasAutoResetPoints()
        .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
        Returns:
        Whether the autoResetPoints field is set.
      • getAutoResetPoints

        ResetPoints getAutoResetPoints()
        .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
        Returns:
        The autoResetPoints.
      • getAutoResetPointsOrBuilder

        ResetPointsOrBuilder getAutoResetPointsOrBuilder()
        .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
      • getTaskQueue

        java.lang.String getTaskQueue()
        string task_queue = 13;
        Returns:
        The taskQueue.
      • getTaskQueueBytes

        com.google.protobuf.ByteString getTaskQueueBytes()
        string task_queue = 13;
        Returns:
        The bytes for taskQueue.
      • getStateTransitionCount

        long getStateTransitionCount()
        int64 state_transition_count = 14;
        Returns:
        The stateTransitionCount.
      • getHistorySizeBytes

        long getHistorySizeBytes()
        int64 history_size_bytes = 15;
        Returns:
        The historySizeBytes.
      • hasMostRecentWorkerVersionStamp

        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;
        Returns:
        Whether the mostRecentWorkerVersionStamp field is set.
      • getMostRecentWorkerVersionStamp

        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;
        Returns:
        The mostRecentWorkerVersionStamp.
      • getMostRecentWorkerVersionStampOrBuilder

        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;
      • hasExecutionDuration

        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;
        Returns:
        Whether the executionDuration field is set.
      • getExecutionDuration

        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;
        Returns:
        The executionDuration.
      • getExecutionDurationOrBuilder

        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;
      • hasRootExecution

        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;
        Returns:
        Whether the rootExecution field is set.
      • getRootExecution

        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;
        Returns:
        The rootExecution.
      • getRootExecutionOrBuilder

        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;
      • getAssignedBuildId

        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;
        Returns:
        The assignedBuildId.
      • getAssignedBuildIdBytes

        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;
        Returns:
        The bytes for assignedBuildId.
      • getInheritedBuildId

        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;
        Returns:
        The inheritedBuildId.
      • getInheritedBuildIdBytes

        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;
        Returns:
        The bytes for inheritedBuildId.