Class PollWorkflowExecutionUpdateResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PollWorkflowExecutionUpdateResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder>
io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PollWorkflowExecutionUpdateResponseOrBuilder,Cloneable
- Enclosing class:
PollWorkflowExecutionUpdateResponse
public static final class PollWorkflowExecutionUpdateResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder>
implements PollWorkflowExecutionUpdateResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The outcome of the update if and only if the 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.Sufficient information to address this Update.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe outcome of the update if and only if the update has completed.The outcome of the update if and only if the update has completed.The outcome of the update if and only if the 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.Sufficient information to address this Update.Sufficient information to address this Update.Sufficient information to address this Update.booleanThe outcome of the update if and only if the update has completed.booleanSufficient information to address this Update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOutcome(Outcome value) The outcome of the update if and only if the update has completed.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateRef(UpdateRef value) Sufficient information to address this Update.setOutcome(Outcome value) The outcome of the update if and only if the update has completed.setOutcome(Outcome.Builder builderForValue) The outcome of the update if and only if the 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) Sufficient information to address this Update.setUpdateRef(UpdateRef.Builder builderForValue) Sufficient information to address this Update.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<PollWorkflowExecutionUpdateResponse.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<PollWorkflowExecutionUpdateResponse.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<PollWorkflowExecutionUpdateResponse.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<PollWorkflowExecutionUpdateResponse.Builder>
-
setField
public PollWorkflowExecutionUpdateResponse.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<PollWorkflowExecutionUpdateResponse.Builder>
-
clearField
public PollWorkflowExecutionUpdateResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder>
-
clearOneof
public PollWorkflowExecutionUpdateResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder>
-
setRepeatedField
public PollWorkflowExecutionUpdateResponse.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<PollWorkflowExecutionUpdateResponse.Builder>
-
addRepeatedField
public PollWorkflowExecutionUpdateResponse.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<PollWorkflowExecutionUpdateResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PollWorkflowExecutionUpdateResponse.Builder>
-
mergeFrom
public PollWorkflowExecutionUpdateResponse.Builder mergeFrom(PollWorkflowExecutionUpdateResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder>
-
mergeFrom
public PollWorkflowExecutionUpdateResponse.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<PollWorkflowExecutionUpdateResponse.Builder>- Throws:
IOException
-
hasOutcome
public boolean hasOutcome()The outcome of the update if and only if the update has completed. If this response is being returned before the update has completed (e.g. due to the specification of a wait policy that only waits on UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 1;- Specified by:
hasOutcomein interfacePollWorkflowExecutionUpdateResponseOrBuilder- Returns:
- Whether the outcome field is set.
-
getOutcome
The outcome of the update if and only if the update has completed. If this response is being returned before the update has completed (e.g. due to the specification of a wait policy that only waits on UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 1;- Specified by:
getOutcomein interfacePollWorkflowExecutionUpdateResponseOrBuilder- Returns:
- The outcome.
-
setOutcome
The outcome of the update if and only if the update has completed. If this response is being returned before the update has completed (e.g. due to the specification of a wait policy that only waits on UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 1; -
setOutcome
The outcome of the update if and only if the update has completed. If this response is being returned before the update has completed (e.g. due to the specification of a wait policy that only waits on UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 1; -
mergeOutcome
The outcome of the update if and only if the update has completed. If this response is being returned before the update has completed (e.g. due to the specification of a wait policy that only waits on UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 1; -
clearOutcome
The outcome of the update if and only if the update has completed. If this response is being returned before the update has completed (e.g. due to the specification of a wait policy that only waits on UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 1; -
getOutcomeBuilder
The outcome of the update if and only if the update has completed. If this response is being returned before the update has completed (e.g. due to the specification of a wait policy that only waits on UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 1; -
getOutcomeOrBuilder
The outcome of the update if and only if the update has completed. If this response is being returned before the update has completed (e.g. due to the specification of a wait policy that only waits on UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will not be set.
.temporal.api.update.v1.Outcome outcome = 1;- Specified by:
getOutcomeOrBuilderin interfacePollWorkflowExecutionUpdateResponseOrBuilder
-
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 = 2;- Specified by:
getStageValuein interfacePollWorkflowExecutionUpdateResponseOrBuilder- 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 = 2;- 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 = 2;- Specified by:
getStagein interfacePollWorkflowExecutionUpdateResponseOrBuilder- Returns:
- The stage.
-
setStage
public PollWorkflowExecutionUpdateResponse.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 = 2;- 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 = 2;- Returns:
- This builder for chaining.
-
hasUpdateRef
public boolean hasUpdateRef()Sufficient information to address this Update.
.temporal.api.update.v1.UpdateRef update_ref = 3;- Specified by:
hasUpdateRefin interfacePollWorkflowExecutionUpdateResponseOrBuilder- Returns:
- Whether the updateRef field is set.
-
getUpdateRef
Sufficient information to address this Update.
.temporal.api.update.v1.UpdateRef update_ref = 3;- Specified by:
getUpdateRefin interfacePollWorkflowExecutionUpdateResponseOrBuilder- Returns:
- The updateRef.
-
setUpdateRef
Sufficient information to address this Update.
.temporal.api.update.v1.UpdateRef update_ref = 3; -
setUpdateRef
Sufficient information to address this Update.
.temporal.api.update.v1.UpdateRef update_ref = 3; -
mergeUpdateRef
Sufficient information to address this Update.
.temporal.api.update.v1.UpdateRef update_ref = 3; -
clearUpdateRef
Sufficient information to address this Update.
.temporal.api.update.v1.UpdateRef update_ref = 3; -
getUpdateRefBuilder
Sufficient information to address this Update.
.temporal.api.update.v1.UpdateRef update_ref = 3; -
getUpdateRefOrBuilder
Sufficient information to address this Update.
.temporal.api.update.v1.UpdateRef update_ref = 3;- Specified by:
getUpdateRefOrBuilderin interfacePollWorkflowExecutionUpdateResponseOrBuilder
-
setUnknownFields
public final PollWorkflowExecutionUpdateResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder>
-
mergeUnknownFields
public final PollWorkflowExecutionUpdateResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder>
-