Class SignalWithStartWorkflowExecutionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SignalWithStartWorkflowExecutionResponseOrBuilder,Cloneable
- Enclosing class:
SignalWithStartWorkflowExecutionResponse
public static final class SignalWithStartWorkflowExecutionResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
implements SignalWithStartWorkflowExecutionResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The run id of the workflow that was started - or just signaled, if it was already running.Link to be associated with the WorkflowExecutionSignaled event.If true, a new workflow was started.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.com.google.protobuf.ByteStringIf the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.getRunId()The run id of the workflow that was started - or just signaled, if it was already running.com.google.protobuf.ByteStringThe run id of the workflow that was started - or just signaled, if it was already running.Link to be associated with the WorkflowExecutionSignaled event.Link to be associated with the WorkflowExecutionSignaled event.Link to be associated with the WorkflowExecutionSignaled event.booleanIf true, a new workflow was started.booleanLink to be associated with the WorkflowExecutionSignaled event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSignalLink(Link value) Link to be associated with the WorkflowExecutionSignaled event.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFirstExecutionRunId(String value) If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value) If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The run id of the workflow that was started - or just signaled, if it was already running.setRunIdBytes(com.google.protobuf.ByteString value) The run id of the workflow that was started - or just signaled, if it was already running.setSignalLink(Link value) Link to be associated with the WorkflowExecutionSignaled event.setSignalLink(Link.Builder builderForValue) Link to be associated with the WorkflowExecutionSignaled event.setStarted(boolean value) If true, a new workflow was started.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<SignalWithStartWorkflowExecutionResponse.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<SignalWithStartWorkflowExecutionResponse.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<SignalWithStartWorkflowExecutionResponse.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<SignalWithStartWorkflowExecutionResponse.Builder>
-
setField
public SignalWithStartWorkflowExecutionResponse.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<SignalWithStartWorkflowExecutionResponse.Builder>
-
clearField
public SignalWithStartWorkflowExecutionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
-
clearOneof
public SignalWithStartWorkflowExecutionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
-
setRepeatedField
public SignalWithStartWorkflowExecutionResponse.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<SignalWithStartWorkflowExecutionResponse.Builder>
-
addRepeatedField
public SignalWithStartWorkflowExecutionResponse.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<SignalWithStartWorkflowExecutionResponse.Builder>
-
mergeFrom
public SignalWithStartWorkflowExecutionResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
-
mergeFrom
public SignalWithStartWorkflowExecutionResponse.Builder mergeFrom(SignalWithStartWorkflowExecutionResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
-
mergeFrom
public SignalWithStartWorkflowExecutionResponse.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<SignalWithStartWorkflowExecutionResponse.Builder>- Throws:
IOException
-
getRunId
The run id of the workflow that was started - or just signaled, if it was already running.
string run_id = 1;- Specified by:
getRunIdin interfaceSignalWithStartWorkflowExecutionResponseOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()The run id of the workflow that was started - or just signaled, if it was already running.
string run_id = 1;- Specified by:
getRunIdBytesin interfaceSignalWithStartWorkflowExecutionResponseOrBuilder- Returns:
- The bytes for runId.
-
setRunId
The run id of the workflow that was started - or just signaled, if it was already running.
string run_id = 1;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
The run id of the workflow that was started - or just signaled, if it was already running.
string run_id = 1;- Returns:
- This builder for chaining.
-
setRunIdBytes
public SignalWithStartWorkflowExecutionResponse.Builder setRunIdBytes(com.google.protobuf.ByteString value) The run id of the workflow that was started - or just signaled, if it was already running.
string run_id = 1;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getFirstExecutionRunId
If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 4;- Specified by:
getFirstExecutionRunIdin interfaceSignalWithStartWorkflowExecutionResponseOrBuilder- Returns:
- The firstExecutionRunId.
-
getFirstExecutionRunIdBytes
public com.google.protobuf.ByteString getFirstExecutionRunIdBytes()If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 4;- Specified by:
getFirstExecutionRunIdBytesin interfaceSignalWithStartWorkflowExecutionResponseOrBuilder- Returns:
- The bytes for firstExecutionRunId.
-
setFirstExecutionRunId
If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 4;- Parameters:
value- The firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearFirstExecutionRunId
If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 4;- Returns:
- This builder for chaining.
-
setFirstExecutionRunIdBytes
public SignalWithStartWorkflowExecutionResponse.Builder setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value) If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 4;- Parameters:
value- The bytes for firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
getStarted
public boolean getStarted()If true, a new workflow was started.
bool started = 2;- Specified by:
getStartedin interfaceSignalWithStartWorkflowExecutionResponseOrBuilder- Returns:
- The started.
-
setStarted
If true, a new workflow was started.
bool started = 2;- Parameters:
value- The started to set.- Returns:
- This builder for chaining.
-
clearStarted
If true, a new workflow was started.
bool started = 2;- Returns:
- This builder for chaining.
-
hasSignalLink
public boolean hasSignalLink()Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up.
.temporal.api.common.v1.Link signal_link = 3;- Specified by:
hasSignalLinkin interfaceSignalWithStartWorkflowExecutionResponseOrBuilder- Returns:
- Whether the signalLink field is set.
-
getSignalLink
Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up.
.temporal.api.common.v1.Link signal_link = 3;- Specified by:
getSignalLinkin interfaceSignalWithStartWorkflowExecutionResponseOrBuilder- Returns:
- The signalLink.
-
setSignalLink
Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up.
.temporal.api.common.v1.Link signal_link = 3; -
setSignalLink
Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up.
.temporal.api.common.v1.Link signal_link = 3; -
mergeSignalLink
Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up.
.temporal.api.common.v1.Link signal_link = 3; -
clearSignalLink
Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up.
.temporal.api.common.v1.Link signal_link = 3; -
getSignalLinkBuilder
Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up.
.temporal.api.common.v1.Link signal_link = 3; -
getSignalLinkOrBuilder
Link to be associated with the WorkflowExecutionSignaled event. Added on the response to propagate the backlink. Available from Temporal server 1.31 and up.
.temporal.api.common.v1.Link signal_link = 3;- Specified by:
getSignalLinkOrBuilderin interfaceSignalWithStartWorkflowExecutionResponseOrBuilder
-
setUnknownFields
public final SignalWithStartWorkflowExecutionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
-
mergeUnknownFields
public final SignalWithStartWorkflowExecutionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalWithStartWorkflowExecutionResponse.Builder>
-