Interface UpdateWorkflowExecutionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateWorkflowExecutionResponse,UpdateWorkflowExecutionResponse.Builder
@Generated(value="protoc",
comments="annotations:UpdateWorkflowExecutionResponseOrBuilder.java.pb.meta")
public interface UpdateWorkflowExecutionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLink()Link to the update event.Link to the update event.The outcome of the Update if and only if the Workflow Update has completed.The outcome of the Update if and only if the Workflow Update has completed.getStage()The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.intThe most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.Enough information for subsequent poll calls if needed.Enough information for subsequent poll calls if needed.booleanhasLink()Link to the update event.booleanThe outcome of the Update if and only if the Workflow Update has completed.booleanEnough information for subsequent poll calls if needed.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
-
hasUpdateRef
boolean hasUpdateRef()Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;- Returns:
- Whether the updateRef field is set.
-
getUpdateRef
UpdateRef getUpdateRef()Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;- Returns:
- The updateRef.
-
getUpdateRefOrBuilder
UpdateRefOrBuilder getUpdateRefOrBuilder()Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1; -
hasOutcome
boolean hasOutcome()The outcome of the Update if and only if the Workflow Update has completed. If this response is being returned before the Update has completed then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 2;- Returns:
- Whether the outcome field is set.
-
getOutcome
Outcome getOutcome()The outcome of the Update if and only if the Workflow Update has completed. If this response is being returned before the Update has completed then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 2;- Returns:
- The outcome.
-
getOutcomeOrBuilder
OutcomeOrBuilder getOutcomeOrBuilder()The outcome of the Update if and only if the Workflow Update has completed. If this response is being returned before the Update has completed then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 2; -
getStageValue
int getStageValue()The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED. UNSPECIFIED will be returned if and only if the server's maximum wait time was reached before the Update reached the stage specified in the request WaitPolicy, and before the context deadline expired; clients may may then retry the call as needed.
.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 3;- Returns:
- The enum numeric value on the wire for stage.
-
getStage
UpdateWorkflowExecutionLifecycleStage getStage()The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED < UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED. UNSPECIFIED will be returned if and only if the server's maximum wait time was reached before the Update reached the stage specified in the request WaitPolicy, and before the context deadline expired; clients may may then retry the call as needed.
.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 3;- Returns:
- The stage.
-
hasLink
boolean hasLink()Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4;- Returns:
- Whether the link field is set.
-
getLink
Link getLink()Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4;- Returns:
- The link.
-
getLinkOrBuilder
LinkOrBuilder getLinkOrBuilder()Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4;
-