Class OrchestratorService.RerunWorkflowFromEventRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
io.dapr.durabletask.implementation.protobuf.OrchestratorService.RerunWorkflowFromEventRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OrchestratorService.RerunWorkflowFromEventRequestOrBuilder,Cloneable
- Enclosing class:
- OrchestratorService.RerunWorkflowFromEventRequest
public static final class OrchestratorService.RerunWorkflowFromEventRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
implements OrchestratorService.RerunWorkflowFromEventRequestOrBuilder
RerunWorkflowFromEventRequest is used to rerun a workflow instance from a specific event ID.Protobuf type
RerunWorkflowFromEventRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()the event id to start the new workflow instance from.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) input can optionally given to give the new instance a different input to the next Activity event.newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow.newInstanceID is the new instance ID to use for the new workflow instance.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) overwrite_input signals that the input to the rerun activity should be written with input.sourceInstanceID is the orchestration instance ID to rerun.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintthe event id to start the new workflow instance from.com.google.protobuf.StringValuegetInput()input can optionally given to give the new instance a different input to the next Activity event.com.google.protobuf.StringValue.Builderinput can optionally given to give the new instance a different input to the next Activity event.com.google.protobuf.StringValueOrBuilderinput can optionally given to give the new instance a different input to the next Activity event.newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow.com.google.protobuf.ByteStringnewChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow.newInstanceID is the new instance ID to use for the new workflow instance.com.google.protobuf.ByteStringnewInstanceID is the new instance ID to use for the new workflow instance.booleanoverwrite_input signals that the input to the rerun activity should be written with input.sourceInstanceID is the orchestration instance ID to rerun.com.google.protobuf.ByteStringsourceInstanceID is the orchestration instance ID to rerun.booleanhasInput()input can optionally given to give the new instance a different input to the next Activity event.booleannewChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow.booleannewInstanceID is the new instance ID to use for the new workflow instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInput(com.google.protobuf.StringValue value) input can optionally given to give the new instance a different input to the next Activity event.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setEventID(int value) the event id to start the new workflow instance from.setInput(com.google.protobuf.StringValue value) input can optionally given to give the new instance a different input to the next Activity event.setInput(com.google.protobuf.StringValue.Builder builderForValue) input can optionally given to give the new instance a different input to the next Activity event.newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow.setNewChildWorkflowInstanceIDBytes(com.google.protobuf.ByteString value) newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow.setNewInstanceID(String value) newInstanceID is the new instance ID to use for the new workflow instance.setNewInstanceIDBytes(com.google.protobuf.ByteString value) newInstanceID is the new instance ID to use for the new workflow instance.setOverwriteInput(boolean value) overwrite_input signals that the input to the rerun activity should be written with input.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSourceInstanceID(String value) sourceInstanceID is the orchestration instance ID to rerun.setSourceInstanceIDBytes(com.google.protobuf.ByteString value) sourceInstanceID is the orchestration instance ID to rerun.setUnknownFields(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, 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<OrchestratorService.RerunWorkflowFromEventRequest.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<OrchestratorService.RerunWorkflowFromEventRequest.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<OrchestratorService.RerunWorkflowFromEventRequest.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<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
setField
public OrchestratorService.RerunWorkflowFromEventRequest.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<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
clearField
public OrchestratorService.RerunWorkflowFromEventRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
clearOneof
public OrchestratorService.RerunWorkflowFromEventRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
setRepeatedField
public OrchestratorService.RerunWorkflowFromEventRequest.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<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
addRepeatedField
public OrchestratorService.RerunWorkflowFromEventRequest.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<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
mergeFrom
public OrchestratorService.RerunWorkflowFromEventRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
mergeFrom
public OrchestratorService.RerunWorkflowFromEventRequest.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<OrchestratorService.RerunWorkflowFromEventRequest.Builder>- Throws:
IOException
-
getSourceInstanceID
sourceInstanceID is the orchestration instance ID to rerun. Can be a top level instance, or sub-orchestration instance.
string sourceInstanceID = 1;- Specified by:
getSourceInstanceIDin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The sourceInstanceID.
-
getSourceInstanceIDBytes
public com.google.protobuf.ByteString getSourceInstanceIDBytes()sourceInstanceID is the orchestration instance ID to rerun. Can be a top level instance, or sub-orchestration instance.
string sourceInstanceID = 1;- Specified by:
getSourceInstanceIDBytesin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The bytes for sourceInstanceID.
-
setSourceInstanceID
sourceInstanceID is the orchestration instance ID to rerun. Can be a top level instance, or sub-orchestration instance.
string sourceInstanceID = 1;- Parameters:
value- The sourceInstanceID to set.- Returns:
- This builder for chaining.
-
clearSourceInstanceID
sourceInstanceID is the orchestration instance ID to rerun. Can be a top level instance, or sub-orchestration instance.
string sourceInstanceID = 1;- Returns:
- This builder for chaining.
-
setSourceInstanceIDBytes
public OrchestratorService.RerunWorkflowFromEventRequest.Builder setSourceInstanceIDBytes(com.google.protobuf.ByteString value) sourceInstanceID is the orchestration instance ID to rerun. Can be a top level instance, or sub-orchestration instance.
string sourceInstanceID = 1;- Parameters:
value- The bytes for sourceInstanceID to set.- Returns:
- This builder for chaining.
-
getEventID
public int getEventID()the event id to start the new workflow instance from.
uint32 eventID = 2;- Specified by:
getEventIDin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The eventID.
-
setEventID
the event id to start the new workflow instance from.
uint32 eventID = 2;- Parameters:
value- The eventID to set.- Returns:
- This builder for chaining.
-
clearEventID
the event id to start the new workflow instance from.
uint32 eventID = 2;- Returns:
- This builder for chaining.
-
hasNewInstanceID
public boolean hasNewInstanceID()newInstanceID is the new instance ID to use for the new workflow instance. If not given, a random instance ID will be given.
optional string newInstanceID = 3;- Specified by:
hasNewInstanceIDin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- Whether the newInstanceID field is set.
-
getNewInstanceID
newInstanceID is the new instance ID to use for the new workflow instance. If not given, a random instance ID will be given.
optional string newInstanceID = 3;- Specified by:
getNewInstanceIDin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The newInstanceID.
-
getNewInstanceIDBytes
public com.google.protobuf.ByteString getNewInstanceIDBytes()newInstanceID is the new instance ID to use for the new workflow instance. If not given, a random instance ID will be given.
optional string newInstanceID = 3;- Specified by:
getNewInstanceIDBytesin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The bytes for newInstanceID.
-
setNewInstanceID
newInstanceID is the new instance ID to use for the new workflow instance. If not given, a random instance ID will be given.
optional string newInstanceID = 3;- Parameters:
value- The newInstanceID to set.- Returns:
- This builder for chaining.
-
clearNewInstanceID
newInstanceID is the new instance ID to use for the new workflow instance. If not given, a random instance ID will be given.
optional string newInstanceID = 3;- Returns:
- This builder for chaining.
-
setNewInstanceIDBytes
public OrchestratorService.RerunWorkflowFromEventRequest.Builder setNewInstanceIDBytes(com.google.protobuf.ByteString value) newInstanceID is the new instance ID to use for the new workflow instance. If not given, a random instance ID will be given.
optional string newInstanceID = 3;- Parameters:
value- The bytes for newInstanceID to set.- Returns:
- This builder for chaining.
-
hasInput
public boolean hasInput()input can optionally given to give the new instance a different input to the next Activity event.
.google.protobuf.StringValue input = 4;- Specified by:
hasInputin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- Whether the input field is set.
-
getInput
public com.google.protobuf.StringValue getInput()input can optionally given to give the new instance a different input to the next Activity event.
.google.protobuf.StringValue input = 4;- Specified by:
getInputin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The input.
-
setInput
public OrchestratorService.RerunWorkflowFromEventRequest.Builder setInput(com.google.protobuf.StringValue value) input can optionally given to give the new instance a different input to the next Activity event.
.google.protobuf.StringValue input = 4; -
setInput
public OrchestratorService.RerunWorkflowFromEventRequest.Builder setInput(com.google.protobuf.StringValue.Builder builderForValue) input can optionally given to give the new instance a different input to the next Activity event.
.google.protobuf.StringValue input = 4; -
mergeInput
public OrchestratorService.RerunWorkflowFromEventRequest.Builder mergeInput(com.google.protobuf.StringValue value) input can optionally given to give the new instance a different input to the next Activity event.
.google.protobuf.StringValue input = 4; -
clearInput
input can optionally given to give the new instance a different input to the next Activity event.
.google.protobuf.StringValue input = 4; -
getInputBuilder
public com.google.protobuf.StringValue.Builder getInputBuilder()input can optionally given to give the new instance a different input to the next Activity event.
.google.protobuf.StringValue input = 4; -
getInputOrBuilder
public com.google.protobuf.StringValueOrBuilder getInputOrBuilder()input can optionally given to give the new instance a different input to the next Activity event.
.google.protobuf.StringValue input = 4;- Specified by:
getInputOrBuilderin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder
-
getOverwriteInput
public boolean getOverwriteInput()overwrite_input signals that the input to the rerun activity should be written with input. This is required because of the incorrect typing of inputs being `StringValue` which cannot be optional, and therefore no nil value can be signalled or overwritten.
bool overwriteInput = 5;- Specified by:
getOverwriteInputin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The overwriteInput.
-
setOverwriteInput
overwrite_input signals that the input to the rerun activity should be written with input. This is required because of the incorrect typing of inputs being `StringValue` which cannot be optional, and therefore no nil value can be signalled or overwritten.
bool overwriteInput = 5;- Parameters:
value- The overwriteInput to set.- Returns:
- This builder for chaining.
-
clearOverwriteInput
overwrite_input signals that the input to the rerun activity should be written with input. This is required because of the incorrect typing of inputs being `StringValue` which cannot be optional, and therefore no nil value can be signalled or overwritten.
bool overwriteInput = 5;- Returns:
- This builder for chaining.
-
hasNewChildWorkflowInstanceID
public boolean hasNewChildWorkflowInstanceID()newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow. Only accepted if the event ID given is targeting a child workflow creation event.
optional string newChildWorkflowInstanceID = 6;- Specified by:
hasNewChildWorkflowInstanceIDin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- Whether the newChildWorkflowInstanceID field is set.
-
getNewChildWorkflowInstanceID
newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow. Only accepted if the event ID given is targeting a child workflow creation event.
optional string newChildWorkflowInstanceID = 6;- Specified by:
getNewChildWorkflowInstanceIDin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The newChildWorkflowInstanceID.
-
getNewChildWorkflowInstanceIDBytes
public com.google.protobuf.ByteString getNewChildWorkflowInstanceIDBytes()newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow. Only accepted if the event ID given is targeting a child workflow creation event.
optional string newChildWorkflowInstanceID = 6;- Specified by:
getNewChildWorkflowInstanceIDBytesin interfaceOrchestratorService.RerunWorkflowFromEventRequestOrBuilder- Returns:
- The bytes for newChildWorkflowInstanceID.
-
setNewChildWorkflowInstanceID
public OrchestratorService.RerunWorkflowFromEventRequest.Builder setNewChildWorkflowInstanceID(String value) newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow. Only accepted if the event ID given is targeting a child workflow creation event.
optional string newChildWorkflowInstanceID = 6;- Parameters:
value- The newChildWorkflowInstanceID to set.- Returns:
- This builder for chaining.
-
clearNewChildWorkflowInstanceID
newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow. Only accepted if the event ID given is targeting a child workflow creation event.
optional string newChildWorkflowInstanceID = 6;- Returns:
- This builder for chaining.
-
setNewChildWorkflowInstanceIDBytes
public OrchestratorService.RerunWorkflowFromEventRequest.Builder setNewChildWorkflowInstanceIDBytes(com.google.protobuf.ByteString value) newChildWorkflowInstanceID is an optional instance ID to use when rerunning from a child workflow. Only accepted if the event ID given is targeting a child workflow creation event.
optional string newChildWorkflowInstanceID = 6;- Parameters:
value- The bytes for newChildWorkflowInstanceID to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final OrchestratorService.RerunWorkflowFromEventRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-
mergeUnknownFields
public final OrchestratorService.RerunWorkflowFromEventRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.RerunWorkflowFromEventRequest.Builder>
-