Interface WorkflowExecutionContinuedAsNewEventAttributesOrBuilder

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

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

    • getNewExecutionRunId

      String getNewExecutionRunId()
       The run ID of the new workflow started by this continue-as-new
       
      string new_execution_run_id = 1;
      Returns:
      The newExecutionRunId.
    • getNewExecutionRunIdBytes

      com.google.protobuf.ByteString getNewExecutionRunIdBytes()
       The run ID of the new workflow started by this continue-as-new
       
      string new_execution_run_id = 1;
      Returns:
      The bytes for newExecutionRunId.
    • hasWorkflowType

      boolean hasWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
      Returns:
      Whether the workflowType field is set.
    • getWorkflowType

      WorkflowType getWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
      Returns:
      The workflowType.
    • getWorkflowTypeOrBuilder

      WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • hasTaskQueue

      boolean hasTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
      Returns:
      Whether the taskQueue field is set.
    • getTaskQueue

      TaskQueue getTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
      Returns:
      The taskQueue.
    • getTaskQueueOrBuilder

      TaskQueueOrBuilder getTaskQueueOrBuilder()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
    • hasInput

      boolean hasInput()
      .temporal.api.common.v1.Payloads input = 4;
      Returns:
      Whether the input field is set.
    • getInput

      Payloads getInput()
      .temporal.api.common.v1.Payloads input = 4;
      Returns:
      The input.
    • getInputOrBuilder

      PayloadsOrBuilder getInputOrBuilder()
      .temporal.api.common.v1.Payloads input = 4;
    • hasWorkflowRunTimeout

      boolean hasWorkflowRunTimeout()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 5;
      Returns:
      Whether the workflowRunTimeout field is set.
    • getWorkflowRunTimeout

      com.google.protobuf.Duration getWorkflowRunTimeout()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 5;
      Returns:
      The workflowRunTimeout.
    • getWorkflowRunTimeoutOrBuilder

      com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 5;
    • hasWorkflowTaskTimeout

      boolean hasWorkflowTaskTimeout()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 6;
      Returns:
      Whether the workflowTaskTimeout field is set.
    • getWorkflowTaskTimeout

      com.google.protobuf.Duration getWorkflowTaskTimeout()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 6;
      Returns:
      The workflowTaskTimeout.
    • getWorkflowTaskTimeoutOrBuilder

      com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 6;
    • getWorkflowTaskCompletedEventId

      long getWorkflowTaskCompletedEventId()
       The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
       
      int64 workflow_task_completed_event_id = 7;
      Returns:
      The workflowTaskCompletedEventId.
    • hasBackoffStartInterval

      boolean hasBackoffStartInterval()
       How long the server will wait before scheduling the first workflow task for the new run.
       Used for cron, retry, and other continue-as-new cases that server may enforce some minimal
       delay between new runs for system protection purpose.
       
      .google.protobuf.Duration backoff_start_interval = 8;
      Returns:
      Whether the backoffStartInterval field is set.
    • getBackoffStartInterval

      com.google.protobuf.Duration getBackoffStartInterval()
       How long the server will wait before scheduling the first workflow task for the new run.
       Used for cron, retry, and other continue-as-new cases that server may enforce some minimal
       delay between new runs for system protection purpose.
       
      .google.protobuf.Duration backoff_start_interval = 8;
      Returns:
      The backoffStartInterval.
    • getBackoffStartIntervalOrBuilder

      com.google.protobuf.DurationOrBuilder getBackoffStartIntervalOrBuilder()
       How long the server will wait before scheduling the first workflow task for the new run.
       Used for cron, retry, and other continue-as-new cases that server may enforce some minimal
       delay between new runs for system protection purpose.
       
      .google.protobuf.Duration backoff_start_interval = 8;
    • getInitiatorValue

      int getInitiatorValue()
      .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
      Returns:
      The enum numeric value on the wire for initiator.
    • getInitiator

      ContinueAsNewInitiator getInitiator()
      .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
      Returns:
      The initiator.
    • hasFailure

      @Deprecated boolean hasFailure()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated. See temporal/api/history/v1/message.proto;l=274
       Deprecated. If a workflow's retry policy would cause a new run to start when the current one
       has failed, this field would be populated with that failure. Now (when supported by server
       and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
       
      .temporal.api.failure.v1.Failure failure = 10 [deprecated = true];
      Returns:
      Whether the failure field is set.
    • getFailure

      @Deprecated Failure getFailure()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.failure is deprecated. See temporal/api/history/v1/message.proto;l=274
       Deprecated. If a workflow's retry policy would cause a new run to start when the current one
       has failed, this field would be populated with that failure. Now (when supported by server
       and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
       
      .temporal.api.failure.v1.Failure failure = 10 [deprecated = true];
      Returns:
      The failure.
    • getFailureOrBuilder

      @Deprecated FailureOrBuilder getFailureOrBuilder()
      Deprecated.
       Deprecated. If a workflow's retry policy would cause a new run to start when the current one
       has failed, this field would be populated with that failure. Now (when supported by server
       and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
       
      .temporal.api.failure.v1.Failure failure = 10 [deprecated = true];
    • hasLastCompletionResult

      boolean hasLastCompletionResult()
       The result from the most recent completed run of this workflow. The SDK surfaces this to the
       new run via APIs such as `GetLastCompletionResult`.
       
      .temporal.api.common.v1.Payloads last_completion_result = 11;
      Returns:
      Whether the lastCompletionResult field is set.
    • getLastCompletionResult

      Payloads getLastCompletionResult()
       The result from the most recent completed run of this workflow. The SDK surfaces this to the
       new run via APIs such as `GetLastCompletionResult`.
       
      .temporal.api.common.v1.Payloads last_completion_result = 11;
      Returns:
      The lastCompletionResult.
    • getLastCompletionResultOrBuilder

      PayloadsOrBuilder getLastCompletionResultOrBuilder()
       The result from the most recent completed run of this workflow. The SDK surfaces this to the
       new run via APIs such as `GetLastCompletionResult`.
       
      .temporal.api.common.v1.Payloads last_completion_result = 11;
    • hasHeader

      boolean hasHeader()
      .temporal.api.common.v1.Header header = 12;
      Returns:
      Whether the header field is set.
    • getHeader

      Header getHeader()
      .temporal.api.common.v1.Header header = 12;
      Returns:
      The header.
    • getHeaderOrBuilder

      HeaderOrBuilder getHeaderOrBuilder()
      .temporal.api.common.v1.Header header = 12;
    • hasMemo

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

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

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

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

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

      SearchAttributesOrBuilder getSearchAttributesOrBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 14;
    • getInheritBuildId

      @Deprecated boolean getInheritBuildId()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.inherit_build_id is deprecated. See temporal/api/history/v1/message.proto;l=284
       If this is set, the new execution inherits the Build ID of the current execution. Otherwise,
       the assignment rules will be used to independently assign a Build ID to the new execution.
       Deprecated. Only considered for versioning v0.2.
       
      bool inherit_build_id = 15 [deprecated = true];
      Returns:
      The inheritBuildId.
    • getInitialVersioningBehaviorValue

      int getInitialVersioningBehaviorValue()
       Experimental. Optionally decide the versioning behavior that the first task of the new run should use.
       For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version
       of the previous run.
       
      .temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;
      Returns:
      The enum numeric value on the wire for initialVersioningBehavior.
    • getInitialVersioningBehavior

      ContinueAsNewVersioningBehavior getInitialVersioningBehavior()
       Experimental. Optionally decide the versioning behavior that the first task of the new run should use.
       For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version
       of the previous run.
       
      .temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 16;
      Returns:
      The initialVersioningBehavior.