Interface StartWorkflowExecutionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StartWorkflowExecutionResponse,StartWorkflowExecutionResponse.Builder
@Generated(value="protoc",
comments="annotations:StartWorkflowExecutionResponseOrBuilder.java.pb.meta")
public interface StartWorkflowExecutionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionWhen `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.com.google.protobuf.ByteStringIf the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.getLink()Link to the workflow event.Link to the workflow event.getRunId()The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING).com.google.protobuf.ByteStringThe run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING).booleanIf true, a new workflow was started.Current execution status of the workflow.intCurrent execution status of the workflow.booleanWhen `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.booleanhasLink()Link to the workflow event.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRunId
String getRunId()The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING).
string run_id = 1;- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING).
string run_id = 1;- Returns:
- The bytes for runId.
-
getFirstExecutionRunId
String getFirstExecutionRunId()If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 6;- Returns:
- The firstExecutionRunId.
-
getFirstExecutionRunIdBytes
com.google.protobuf.ByteString getFirstExecutionRunIdBytes()If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 6;- Returns:
- The bytes for firstExecutionRunId.
-
getStarted
boolean getStarted()If true, a new workflow was started.
bool started = 3;- Returns:
- The started.
-
getStatusValue
int getStatusValue()Current execution status of the workflow. Typically remains WORKFLOW_EXECUTION_STATUS_RUNNING unless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs).
.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
WorkflowExecutionStatus getStatus()Current execution status of the workflow. Typically remains WORKFLOW_EXECUTION_STATUS_RUNNING unless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs).
.temporal.api.enums.v1.WorkflowExecutionStatus status = 5;- Returns:
- The status.
-
hasEagerWorkflowTask
boolean hasEagerWorkflowTask()When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;- Returns:
- Whether the eagerWorkflowTask field is set.
-
getEagerWorkflowTask
PollWorkflowTaskQueueResponse getEagerWorkflowTask()When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;- Returns:
- The eagerWorkflowTask.
-
getEagerWorkflowTaskOrBuilder
PollWorkflowTaskQueueResponseOrBuilder getEagerWorkflowTaskOrBuilder()When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2; -
hasLink
boolean hasLink()Link to the workflow event.
.temporal.api.common.v1.Link link = 4;- Returns:
- Whether the link field is set.
-
getLink
Link getLink()Link to the workflow event.
.temporal.api.common.v1.Link link = 4;- Returns:
- The link.
-
getLinkOrBuilder
LinkOrBuilder getLinkOrBuilder()Link to the workflow event.
.temporal.api.common.v1.Link link = 4;
-