Package io.temporal.api.history.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getBackoffStartInterval()
TODO: How and is this used?com.google.protobuf.DurationOrBuilder
getBackoffStartIntervalOrBuilder()
TODO: How and is this used?Failure
getFailure()
TODO: David are these right? Deprecated.FailureOrBuilder
getFailureOrBuilder()
TODO: David are these right? Deprecated.Header
getHeader()
.temporal.api.common.v1.Header header = 12;
HeaderOrBuilder
getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 12;
ContinueAsNewInitiator
getInitiator()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
int
getInitiatorValue()
.temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9;
Payloads
getInput()
.temporal.api.common.v1.Payloads input = 4;
PayloadsOrBuilder
getInputOrBuilder()
.temporal.api.common.v1.Payloads input = 4;
Payloads
getLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?PayloadsOrBuilder
getLastCompletionResultOrBuilder()
TODO: Is this the result of *this* workflow as it continued-as-new?Memo
getMemo()
.temporal.api.common.v1.Memo memo = 13;
MemoOrBuilder
getMemoOrBuilder()
.temporal.api.common.v1.Memo memo = 13;
java.lang.String
getNewExecutionRunId()
The run ID of the new workflow started by this continue-as-newcom.google.protobuf.ByteString
getNewExecutionRunIdBytes()
The run ID of the new workflow started by this continue-as-newSearchAttributes
getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
SearchAttributesOrBuilder
getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
TaskQueue
getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
TaskQueueOrBuilder
getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
boolean
getUseCompatibleVersion()
If this is set, the workflow executing this command wishes to continue as new using a version compatible with the version that this workflow most recently ran on.com.google.protobuf.Duration
getWorkflowRunTimeout()
Timeout of a single workflow run.com.google.protobuf.DurationOrBuilder
getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.long
getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported withcom.google.protobuf.Duration
getWorkflowTaskTimeout()
Timeout of a single workflow task.com.google.protobuf.DurationOrBuilder
getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.WorkflowType
getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
WorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
boolean
hasBackoffStartInterval()
TODO: How and is this used?boolean
hasFailure()
TODO: David are these right? Deprecated.boolean
hasHeader()
.temporal.api.common.v1.Header header = 12;
boolean
hasInput()
.temporal.api.common.v1.Payloads input = 4;
boolean
hasLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?boolean
hasMemo()
.temporal.api.common.v1.Memo memo = 13;
boolean
hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 14;
boolean
hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
boolean
hasWorkflowRunTimeout()
Timeout of a single workflow run.boolean
hasWorkflowTaskTimeout()
Timeout of a single workflow task.boolean
hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 2;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNewExecutionRunId
java.lang.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 [(.gogoproto.stdduration) = true];
- 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 [(.gogoproto.stdduration) = true];
- Returns:
- The workflowRunTimeout.
-
getWorkflowRunTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
Timeout of a single workflow run.
.google.protobuf.Duration workflow_run_timeout = 5 [(.gogoproto.stdduration) = true];
-
hasWorkflowTaskTimeout
boolean hasWorkflowTaskTimeout()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6 [(.gogoproto.stdduration) = true];
- 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 [(.gogoproto.stdduration) = true];
- Returns:
- The workflowTaskTimeout.
-
getWorkflowTaskTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
Timeout of a single workflow task.
.google.protobuf.Duration workflow_task_timeout = 6 [(.gogoproto.stdduration) = true];
-
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()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
- Returns:
- Whether the backoffStartInterval field is set.
-
getBackoffStartInterval
com.google.protobuf.Duration getBackoffStartInterval()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
- Returns:
- The backoffStartInterval.
-
getBackoffStartIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getBackoffStartIntervalOrBuilder()
TODO: How and is this used?
.google.protobuf.Duration backoff_start_interval = 8 [(.gogoproto.stdduration) = true];
-
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
boolean hasFailure()
TODO: David are these right? Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10;
- Returns:
- Whether the failure field is set.
-
getFailure
Failure getFailure()
TODO: David are these right? Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10;
- Returns:
- The failure.
-
getFailureOrBuilder
FailureOrBuilder getFailureOrBuilder()
TODO: David are these right? Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
.temporal.api.failure.v1.Failure failure = 10;
-
hasLastCompletionResult
boolean hasLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
- Returns:
- Whether the lastCompletionResult field is set.
-
getLastCompletionResult
Payloads getLastCompletionResult()
TODO: Is this the result of *this* workflow as it continued-as-new?
.temporal.api.common.v1.Payloads last_completion_result = 11;
- Returns:
- The lastCompletionResult.
-
getLastCompletionResultOrBuilder
PayloadsOrBuilder getLastCompletionResultOrBuilder()
TODO: Is this the result of *this* workflow as it continued-as-new?
.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;
-
getUseCompatibleVersion
boolean getUseCompatibleVersion()
If this is set, the workflow executing this command wishes to continue as new using a version compatible with the version that this workflow most recently ran on.
bool use_compatible_version = 15;
- Returns:
- The useCompatibleVersion.
-
-