Class UpdateWorkflowExecutionResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.Cloneable
- Enclosing class:
- UpdateWorkflowExecutionResponse
public static final class UpdateWorkflowExecutionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder> implements UpdateWorkflowExecutionResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateWorkflowExecutionResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UpdateWorkflowExecutionResponse
build()
UpdateWorkflowExecutionResponse
buildPartial()
UpdateWorkflowExecutionResponse.Builder
clear()
UpdateWorkflowExecutionResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UpdateWorkflowExecutionResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UpdateWorkflowExecutionResponse.Builder
clearOutcome()
The outcome of the update if and only if the workflow execution update has completed.UpdateWorkflowExecutionResponse.Builder
clearUpdateRef()
Enough information for subsequent poll calls if needed.UpdateWorkflowExecutionResponse.Builder
clone()
UpdateWorkflowExecutionResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Outcome
getOutcome()
The outcome of the update if and only if the workflow execution update has completed.Outcome.Builder
getOutcomeBuilder()
The outcome of the update if and only if the workflow execution update has completed.OutcomeOrBuilder
getOutcomeOrBuilder()
The outcome of the update if and only if the workflow execution update has completed.UpdateRef
getUpdateRef()
Enough information for subsequent poll calls if needed.UpdateRef.Builder
getUpdateRefBuilder()
Enough information for subsequent poll calls if needed.UpdateRefOrBuilder
getUpdateRefOrBuilder()
Enough information for subsequent poll calls if needed.boolean
hasOutcome()
The outcome of the update if and only if the workflow execution update has completed.boolean
hasUpdateRef()
Enough information for subsequent poll calls if needed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UpdateWorkflowExecutionResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UpdateWorkflowExecutionResponse.Builder
mergeFrom(com.google.protobuf.Message other)
UpdateWorkflowExecutionResponse.Builder
mergeFrom(UpdateWorkflowExecutionResponse other)
UpdateWorkflowExecutionResponse.Builder
mergeOutcome(Outcome value)
The outcome of the update if and only if the workflow execution update has completed.UpdateWorkflowExecutionResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UpdateWorkflowExecutionResponse.Builder
mergeUpdateRef(UpdateRef value)
Enough information for subsequent poll calls if needed.UpdateWorkflowExecutionResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UpdateWorkflowExecutionResponse.Builder
setOutcome(Outcome value)
The outcome of the update if and only if the workflow execution update has completed.UpdateWorkflowExecutionResponse.Builder
setOutcome(Outcome.Builder builderForValue)
The outcome of the update if and only if the workflow execution update has completed.UpdateWorkflowExecutionResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
UpdateWorkflowExecutionResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UpdateWorkflowExecutionResponse.Builder
setUpdateRef(UpdateRef value)
Enough information for subsequent poll calls if needed.UpdateWorkflowExecutionResponse.Builder
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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
clear
public UpdateWorkflowExecutionResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
getDefaultInstanceForType
public UpdateWorkflowExecutionResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateWorkflowExecutionResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateWorkflowExecutionResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateWorkflowExecutionResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
setField
public UpdateWorkflowExecutionResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
clearField
public UpdateWorkflowExecutionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
clearOneof
public UpdateWorkflowExecutionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
setRepeatedField
public UpdateWorkflowExecutionResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
addRepeatedField
public UpdateWorkflowExecutionResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
mergeFrom
public UpdateWorkflowExecutionResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionResponse.Builder>
-
mergeFrom
public UpdateWorkflowExecutionResponse.Builder mergeFrom(UpdateWorkflowExecutionResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
mergeFrom
public UpdateWorkflowExecutionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionResponse.Builder>
- Throws:
java.io.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:
hasUpdateRef
in interfaceUpdateWorkflowExecutionResponseOrBuilder
- Returns:
- Whether the updateRef field is set.
-
getUpdateRef
public UpdateRef getUpdateRef()
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;
- Specified by:
getUpdateRef
in interfaceUpdateWorkflowExecutionResponseOrBuilder
- Returns:
- The updateRef.
-
setUpdateRef
public UpdateWorkflowExecutionResponse.Builder setUpdateRef(UpdateRef value)
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;
-
setUpdateRef
public UpdateWorkflowExecutionResponse.Builder setUpdateRef(UpdateRef.Builder builderForValue)
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;
-
mergeUpdateRef
public UpdateWorkflowExecutionResponse.Builder mergeUpdateRef(UpdateRef value)
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;
-
clearUpdateRef
public UpdateWorkflowExecutionResponse.Builder clearUpdateRef()
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;
-
getUpdateRefBuilder
public UpdateRef.Builder getUpdateRefBuilder()
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;
-
getUpdateRefOrBuilder
public UpdateRefOrBuilder getUpdateRefOrBuilder()
Enough information for subsequent poll calls if needed. Never null.
.temporal.api.update.v1.UpdateRef update_ref = 1;
- Specified by:
getUpdateRefOrBuilder
in interfaceUpdateWorkflowExecutionResponseOrBuilder
-
hasOutcome
public boolean hasOutcome()
The outcome of the update if and only if the workflow execution 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:
hasOutcome
in interfaceUpdateWorkflowExecutionResponseOrBuilder
- Returns:
- Whether the outcome field is set.
-
getOutcome
public Outcome getOutcome()
The outcome of the update if and only if the workflow execution 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:
getOutcome
in interfaceUpdateWorkflowExecutionResponseOrBuilder
- Returns:
- The outcome.
-
setOutcome
public UpdateWorkflowExecutionResponse.Builder setOutcome(Outcome value)
The outcome of the update if and only if the workflow execution 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
public UpdateWorkflowExecutionResponse.Builder setOutcome(Outcome.Builder builderForValue)
The outcome of the update if and only if the workflow execution 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
public UpdateWorkflowExecutionResponse.Builder mergeOutcome(Outcome value)
The outcome of the update if and only if the workflow execution 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
public UpdateWorkflowExecutionResponse.Builder clearOutcome()
The outcome of the update if and only if the workflow execution 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
public Outcome.Builder getOutcomeBuilder()
The outcome of the update if and only if the workflow execution 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
public OutcomeOrBuilder getOutcomeOrBuilder()
The outcome of the update if and only if the workflow execution 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:
getOutcomeOrBuilder
in interfaceUpdateWorkflowExecutionResponseOrBuilder
-
setUnknownFields
public final UpdateWorkflowExecutionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
mergeUnknownFields
public final UpdateWorkflowExecutionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionResponse.Builder>
-
-