Class UpdateWorkflowExecutionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateWorkflowExecutionResponseOrBuilder,Cloneable
- Enclosing class:
UpdateWorkflowExecutionResponse
public static final class UpdateWorkflowExecutionResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
implements UpdateWorkflowExecutionResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Link to the update event.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The outcome of the Update if and only if the Workflow Update has completed.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.Enough information for subsequent poll calls if needed.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLink()Link to the update event.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.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Link to the update event.mergeOutcome(Outcome value) The outcome of the Update if and only if the Workflow Update has completed.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateRef(UpdateRef value) Enough information for subsequent poll calls if needed.Link to the update event.setLink(Link.Builder builderForValue) Link to the update event.setOutcome(Outcome value) The outcome of the Update if and only if the Workflow Update has completed.setOutcome(Outcome.Builder builderForValue) The outcome of the Update if and only if the Workflow Update has completed.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.setStageValue(int value) 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.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateRef(UpdateRef value) Enough information for subsequent poll calls if needed.setUpdateRef(UpdateRef.Builder builderForValue) Enough information for subsequent poll calls if needed.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
setField
public UpdateWorkflowExecutionResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
clearField
public UpdateWorkflowExecutionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
clearOneof
public UpdateWorkflowExecutionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
setRepeatedField
public UpdateWorkflowExecutionResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
addRepeatedField
public UpdateWorkflowExecutionResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
mergeFrom
public UpdateWorkflowExecutionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionResponse.Builder>- Throws:
IOException
-
hasUpdateRef
public boolean hasUpdateRef()Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;- Specified by:
hasUpdateRefin interfaceUpdateWorkflowExecutionResponseOrBuilder- Returns:
- Whether the updateRef field is set.
-
getUpdateRef
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;- Specified by:
getUpdateRefin interfaceUpdateWorkflowExecutionResponseOrBuilder- Returns:
- The updateRef.
-
setUpdateRef
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1; -
setUpdateRef
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1; -
mergeUpdateRef
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1; -
clearUpdateRef
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1; -
getUpdateRefBuilder
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1; -
getUpdateRefOrBuilder
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;- Specified by:
getUpdateRefOrBuilderin interfaceUpdateWorkflowExecutionResponseOrBuilder
-
hasOutcome
public 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;- Specified by:
hasOutcomein interfaceUpdateWorkflowExecutionResponseOrBuilder- Returns:
- Whether the outcome field is set.
-
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;- Specified by:
getOutcomein interfaceUpdateWorkflowExecutionResponseOrBuilder- Returns:
- The outcome.
-
setOutcome
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; -
setOutcome
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; -
mergeOutcome
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; -
clearOutcome
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; -
getOutcomeBuilder
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; -
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;- Specified by:
getOutcomeOrBuilderin interfaceUpdateWorkflowExecutionResponseOrBuilder
-
getStageValue
public 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;- Specified by:
getStageValuein interfaceUpdateWorkflowExecutionResponseOrBuilder- Returns:
- The enum numeric value on the wire for stage.
-
setStageValue
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;- Parameters:
value- The enum numeric value on the wire for stage to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getStagein interfaceUpdateWorkflowExecutionResponseOrBuilder- Returns:
- The stage.
-
setStage
public UpdateWorkflowExecutionResponse.Builder setStage(UpdateWorkflowExecutionLifecycleStage value) 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;- Parameters:
value- The stage to set.- Returns:
- This builder for chaining.
-
clearStage
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:
- This builder for chaining.
-
hasLink
public 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;- Specified by:
hasLinkin interfaceUpdateWorkflowExecutionResponseOrBuilder- Returns:
- Whether the link field is set.
-
getLink
Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4;- Specified by:
getLinkin interfaceUpdateWorkflowExecutionResponseOrBuilder- Returns:
- The link.
-
setLink
Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4; -
setLink
Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4; -
mergeLink
Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4; -
clearLink
Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4; -
getLinkBuilder
Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4; -
getLinkOrBuilder
Link to the update event. May be null if the update has not yet been accepted.
.temporal.api.common.v1.Link link = 4;- Specified by:
getLinkOrBuilderin interfaceUpdateWorkflowExecutionResponseOrBuilder
-
setUnknownFields
public final UpdateWorkflowExecutionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
mergeUnknownFields
public final UpdateWorkflowExecutionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-