Class TerminateWorkflowExecutionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
- io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TerminateWorkflowExecutionRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- TerminateWorkflowExecutionRequest
public static final class TerminateWorkflowExecutionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder> implements TerminateWorkflowExecutionRequestOrBuilder
Protobuf typetemporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TerminateWorkflowExecutionRequest.BuilderaddAllLinks(java.lang.Iterable<? extends Link> values)Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuilderaddLinks(int index, Link value)Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuilderaddLinks(int index, Link.Builder builderForValue)Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuilderaddLinks(Link value)Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuilderaddLinks(Link.Builder builderForValue)Links to be associated with the WorkflowExecutionTerminated event.Link.BuilderaddLinksBuilder()Links to be associated with the WorkflowExecutionTerminated event.Link.BuilderaddLinksBuilder(int index)Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TerminateWorkflowExecutionRequestbuild()TerminateWorkflowExecutionRequestbuildPartial()TerminateWorkflowExecutionRequest.Builderclear()TerminateWorkflowExecutionRequest.BuilderclearDetails()Serialized additional information to attach to the termination eventTerminateWorkflowExecutionRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TerminateWorkflowExecutionRequest.BuilderclearFirstExecutionRunId()If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.TerminateWorkflowExecutionRequest.BuilderclearIdentity()The identity of the worker/clientTerminateWorkflowExecutionRequest.BuilderclearLinks()Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuilderclearNamespace()string namespace = 1;TerminateWorkflowExecutionRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TerminateWorkflowExecutionRequest.BuilderclearReason()string reason = 3;TerminateWorkflowExecutionRequest.BuilderclearWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;TerminateWorkflowExecutionRequest.Builderclone()TerminateWorkflowExecutionRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()PayloadsgetDetails()Serialized additional information to attach to the termination eventPayloads.BuildergetDetailsBuilder()Serialized additional information to attach to the termination eventPayloadsOrBuildergetDetailsOrBuilder()Serialized additional information to attach to the termination eventjava.lang.StringgetFirstExecutionRunId()If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.com.google.protobuf.ByteStringgetFirstExecutionRunIdBytes()If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.java.lang.StringgetIdentity()The identity of the worker/clientcom.google.protobuf.ByteStringgetIdentityBytes()The identity of the worker/clientLinkgetLinks(int index)Links to be associated with the WorkflowExecutionTerminated event.Link.BuildergetLinksBuilder(int index)Links to be associated with the WorkflowExecutionTerminated event.java.util.List<Link.Builder>getLinksBuilderList()Links to be associated with the WorkflowExecutionTerminated event.intgetLinksCount()Links to be associated with the WorkflowExecutionTerminated event.java.util.List<Link>getLinksList()Links to be associated with the WorkflowExecutionTerminated event.LinkOrBuildergetLinksOrBuilder(int index)Links to be associated with the WorkflowExecutionTerminated event.java.util.List<? extends LinkOrBuilder>getLinksOrBuilderList()Links to be associated with the WorkflowExecutionTerminated event.java.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;java.lang.StringgetReason()string reason = 3;com.google.protobuf.ByteStringgetReasonBytes()string reason = 3;WorkflowExecutiongetWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;WorkflowExecution.BuildergetWorkflowExecutionBuilder().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;WorkflowExecutionOrBuildergetWorkflowExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;booleanhasDetails()Serialized additional information to attach to the termination eventbooleanhasWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TerminateWorkflowExecutionRequest.BuildermergeDetails(Payloads value)Serialized additional information to attach to the termination eventTerminateWorkflowExecutionRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TerminateWorkflowExecutionRequest.BuildermergeFrom(com.google.protobuf.Message other)TerminateWorkflowExecutionRequest.BuildermergeFrom(TerminateWorkflowExecutionRequest other)TerminateWorkflowExecutionRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TerminateWorkflowExecutionRequest.BuildermergeWorkflowExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;TerminateWorkflowExecutionRequest.BuilderremoveLinks(int index)Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuildersetDetails(Payloads value)Serialized additional information to attach to the termination eventTerminateWorkflowExecutionRequest.BuildersetDetails(Payloads.Builder builderForValue)Serialized additional information to attach to the termination eventTerminateWorkflowExecutionRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TerminateWorkflowExecutionRequest.BuildersetFirstExecutionRunId(java.lang.String value)If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.TerminateWorkflowExecutionRequest.BuildersetFirstExecutionRunIdBytes(com.google.protobuf.ByteString value)If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.TerminateWorkflowExecutionRequest.BuildersetIdentity(java.lang.String value)The identity of the worker/clientTerminateWorkflowExecutionRequest.BuildersetIdentityBytes(com.google.protobuf.ByteString value)The identity of the worker/clientTerminateWorkflowExecutionRequest.BuildersetLinks(int index, Link value)Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuildersetLinks(int index, Link.Builder builderForValue)Links to be associated with the WorkflowExecutionTerminated event.TerminateWorkflowExecutionRequest.BuildersetNamespace(java.lang.String value)string namespace = 1;TerminateWorkflowExecutionRequest.BuildersetNamespaceBytes(com.google.protobuf.ByteString value)string namespace = 1;TerminateWorkflowExecutionRequest.BuildersetReason(java.lang.String value)string reason = 3;TerminateWorkflowExecutionRequest.BuildersetReasonBytes(com.google.protobuf.ByteString value)string reason = 3;TerminateWorkflowExecutionRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TerminateWorkflowExecutionRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TerminateWorkflowExecutionRequest.BuildersetWorkflowExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;TerminateWorkflowExecutionRequest.BuildersetWorkflowExecution(WorkflowExecution.Builder builderForValue).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;-
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, 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<TerminateWorkflowExecutionRequest.Builder>
-
clear
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
getDefaultInstanceForType
public TerminateWorkflowExecutionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TerminateWorkflowExecutionRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TerminateWorkflowExecutionRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
setField
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
clearField
public TerminateWorkflowExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
clearOneof
public TerminateWorkflowExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
setRepeatedField
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
addRepeatedField
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
mergeFrom
public TerminateWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TerminateWorkflowExecutionRequest.Builder>
-
mergeFrom
public TerminateWorkflowExecutionRequest.Builder mergeFrom(TerminateWorkflowExecutionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
mergeFrom
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;- Specified by:
getNamespacein interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
public TerminateWorkflowExecutionRequest.Builder setNamespace(java.lang.String value)
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public TerminateWorkflowExecutionRequest.Builder clearNamespace()
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public TerminateWorkflowExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasWorkflowExecution
public boolean hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
hasWorkflowExecutionin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
public TerminateWorkflowExecutionRequest.Builder setWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
setWorkflowExecution
public TerminateWorkflowExecutionRequest.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
mergeWorkflowExecution
public TerminateWorkflowExecutionRequest.Builder mergeWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
clearWorkflowExecution
public TerminateWorkflowExecutionRequest.Builder clearWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
getWorkflowExecutionBuilder
public WorkflowExecution.Builder getWorkflowExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
getWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionOrBuilderin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
getReason
public java.lang.String getReason()
string reason = 3;- Specified by:
getReasonin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
string reason = 3;- Specified by:
getReasonBytesin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for reason.
-
setReason
public TerminateWorkflowExecutionRequest.Builder setReason(java.lang.String value)
string reason = 3;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
public TerminateWorkflowExecutionRequest.Builder clearReason()
string reason = 3;- Returns:
- This builder for chaining.
-
setReasonBytes
public TerminateWorkflowExecutionRequest.Builder setReasonBytes(com.google.protobuf.ByteString value)
string reason = 3;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
hasDetails
public boolean hasDetails()
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;- Specified by:
hasDetailsin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
public Payloads getDetails()
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;- Specified by:
getDetailsin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The details.
-
setDetails
public TerminateWorkflowExecutionRequest.Builder setDetails(Payloads value)
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;
-
setDetails
public TerminateWorkflowExecutionRequest.Builder setDetails(Payloads.Builder builderForValue)
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;
-
mergeDetails
public TerminateWorkflowExecutionRequest.Builder mergeDetails(Payloads value)
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;
-
clearDetails
public TerminateWorkflowExecutionRequest.Builder clearDetails()
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;
-
getDetailsBuilder
public Payloads.Builder getDetailsBuilder()
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;
-
getDetailsOrBuilder
public PayloadsOrBuilder getDetailsOrBuilder()
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;- Specified by:
getDetailsOrBuilderin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
getIdentity
public java.lang.String getIdentity()
The identity of the worker/client
string identity = 5;- Specified by:
getIdentityin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client
string identity = 5;- Specified by:
getIdentityBytesin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
public TerminateWorkflowExecutionRequest.Builder setIdentity(java.lang.String value)
The identity of the worker/client
string identity = 5;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public TerminateWorkflowExecutionRequest.Builder clearIdentity()
The identity of the worker/client
string identity = 5;- Returns:
- This builder for chaining.
-
setIdentityBytes
public TerminateWorkflowExecutionRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the worker/client
string identity = 5;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getFirstExecutionRunId
public java.lang.String getFirstExecutionRunId()
If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.
string first_execution_run_id = 6;- Specified by:
getFirstExecutionRunIdin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The firstExecutionRunId.
-
getFirstExecutionRunIdBytes
public com.google.protobuf.ByteString getFirstExecutionRunIdBytes()
If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.
string first_execution_run_id = 6;- Specified by:
getFirstExecutionRunIdBytesin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for firstExecutionRunId.
-
setFirstExecutionRunId
public TerminateWorkflowExecutionRequest.Builder setFirstExecutionRunId(java.lang.String value)
If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.
string first_execution_run_id = 6;- Parameters:
value- The firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearFirstExecutionRunId
public TerminateWorkflowExecutionRequest.Builder clearFirstExecutionRunId()
If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.
string first_execution_run_id = 6;- Returns:
- This builder for chaining.
-
setFirstExecutionRunIdBytes
public TerminateWorkflowExecutionRequest.Builder setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value)
If set, this call will error if the most recent (if no run id is set on `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id.
string first_execution_run_id = 6;- Parameters:
value- The bytes for firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
getLinksList
public java.util.List<Link> getLinksList()
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;- Specified by:
getLinksListin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
getLinksCount
public int getLinksCount()
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;- Specified by:
getLinksCountin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
getLinks
public Link getLinks(int index)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;- Specified by:
getLinksin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
setLinks
public TerminateWorkflowExecutionRequest.Builder setLinks(int index, Link value)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
setLinks
public TerminateWorkflowExecutionRequest.Builder setLinks(int index, Link.Builder builderForValue)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
addLinks
public TerminateWorkflowExecutionRequest.Builder addLinks(Link value)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
addLinks
public TerminateWorkflowExecutionRequest.Builder addLinks(int index, Link value)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
addLinks
public TerminateWorkflowExecutionRequest.Builder addLinks(Link.Builder builderForValue)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
addLinks
public TerminateWorkflowExecutionRequest.Builder addLinks(int index, Link.Builder builderForValue)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
addAllLinks
public TerminateWorkflowExecutionRequest.Builder addAllLinks(java.lang.Iterable<? extends Link> values)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
clearLinks
public TerminateWorkflowExecutionRequest.Builder clearLinks()
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
removeLinks
public TerminateWorkflowExecutionRequest.Builder removeLinks(int index)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
getLinksBuilder
public Link.Builder getLinksBuilder(int index)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
getLinksOrBuilder
public LinkOrBuilder getLinksOrBuilder(int index)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;- Specified by:
getLinksOrBuilderin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
getLinksOrBuilderList
public java.util.List<? extends LinkOrBuilder> getLinksOrBuilderList()
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;- Specified by:
getLinksOrBuilderListin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
addLinksBuilder
public Link.Builder addLinksBuilder()
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
addLinksBuilder
public Link.Builder addLinksBuilder(int index)
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
getLinksBuilderList
public java.util.List<Link.Builder> getLinksBuilderList()
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;
-
setUnknownFields
public final TerminateWorkflowExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
mergeUnknownFields
public final TerminateWorkflowExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
-