Class PollWorkflowExecutionUpdateResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.Cloneable
- Enclosing class:
- PollWorkflowExecutionUpdateResponse
public static final class PollWorkflowExecutionUpdateResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder> implements PollWorkflowExecutionUpdateResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PollWorkflowExecutionUpdateResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PollWorkflowExecutionUpdateResponsebuild()PollWorkflowExecutionUpdateResponsebuildPartial()PollWorkflowExecutionUpdateResponse.Builderclear()PollWorkflowExecutionUpdateResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PollWorkflowExecutionUpdateResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PollWorkflowExecutionUpdateResponse.BuilderclearOutcome()The outcome of the update if and only if the update has completed.PollWorkflowExecutionUpdateResponse.Builderclone()PollWorkflowExecutionUpdateResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()OutcomegetOutcome()The outcome of the update if and only if the update has completed.Outcome.BuildergetOutcomeBuilder()The outcome of the update if and only if the update has completed.OutcomeOrBuildergetOutcomeOrBuilder()The outcome of the update if and only if the update has completed.booleanhasOutcome()The outcome of the update if and only if the update has completed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PollWorkflowExecutionUpdateResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PollWorkflowExecutionUpdateResponse.BuildermergeFrom(com.google.protobuf.Message other)PollWorkflowExecutionUpdateResponse.BuildermergeFrom(PollWorkflowExecutionUpdateResponse other)PollWorkflowExecutionUpdateResponse.BuildermergeOutcome(Outcome value)The outcome of the update if and only if the update has completed.PollWorkflowExecutionUpdateResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PollWorkflowExecutionUpdateResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PollWorkflowExecutionUpdateResponse.BuildersetOutcome(Outcome value)The outcome of the update if and only if the update has completed.PollWorkflowExecutionUpdateResponse.BuildersetOutcome(Outcome.Builder builderForValue)The outcome of the update if and only if the update has completed.PollWorkflowExecutionUpdateResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)PollWorkflowExecutionUpdateResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public PollWorkflowExecutionUpdateResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PollWorkflowExecutionUpdateResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PollWorkflowExecutionUpdateResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PollWorkflowExecutionUpdateResponse.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowExecutionUpdateResponse.Builder>
-
mergeFrom
public PollWorkflowExecutionUpdateResponse.Builder mergeFrom(com.google.protobuf.Message other)
- 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 java.io.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:
java.io.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
public Outcome 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
public PollWorkflowExecutionUpdateResponse.Builder setOutcome(Outcome value)
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
public PollWorkflowExecutionUpdateResponse.Builder setOutcome(Outcome.Builder builderForValue)
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
public PollWorkflowExecutionUpdateResponse.Builder mergeOutcome(Outcome value)
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
public PollWorkflowExecutionUpdateResponse.Builder 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
public Outcome.Builder 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
public OutcomeOrBuilder 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
-
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>
-
-