Class TerminateWorkflowExecutionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TerminateWorkflowExecutionRequest.Builder>
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,Cloneable
- Enclosing class:
TerminateWorkflowExecutionRequest
public static final class TerminateWorkflowExecutionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
implements TerminateWorkflowExecutionRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<? extends Link> values) Links to be associated with the WorkflowExecutionTerminated event.Links to be associated with the WorkflowExecutionTerminated event.addLinks(int index, Link.Builder builderForValue) Links to be associated with the WorkflowExecutionTerminated event.Links to be associated with the WorkflowExecutionTerminated event.addLinks(Link.Builder builderForValue) Links to be associated with the WorkflowExecutionTerminated event.Links to be associated with the WorkflowExecutionTerminated event.addLinksBuilder(int index) Links to be associated with the WorkflowExecutionTerminated event.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Serialized additional information to attach to the termination eventclearField(com.google.protobuf.Descriptors.FieldDescriptor field) 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.The identity of the worker/clientLinks to be associated with the WorkflowExecutionTerminated event.string namespace = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) string reason = 3;.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSerialized additional information to attach to the termination eventSerialized additional information to attach to the termination eventSerialized additional information to attach to the termination eventIf 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.ByteStringIf 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.The identity of the worker/clientcom.google.protobuf.ByteStringThe identity of the worker/clientgetLinks(int index) Links to be associated with the WorkflowExecutionTerminated event.getLinksBuilder(int index) Links to be associated with the WorkflowExecutionTerminated event.Links to be associated with the WorkflowExecutionTerminated event.intLinks to be associated with the WorkflowExecutionTerminated event.Links to be associated with the WorkflowExecutionTerminated event.getLinksOrBuilder(int index) Links to be associated with the WorkflowExecutionTerminated event.List<? extends LinkOrBuilder> Links to be associated with the WorkflowExecutionTerminated event.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;string reason = 3;com.google.protobuf.ByteStringstring reason = 3;.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;booleanSerialized additional information to attach to the termination eventboolean.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDetails(Payloads value) Serialized additional information to attach to the termination eventmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;removeLinks(int index) Links to be associated with the WorkflowExecutionTerminated event.setDetails(Payloads value) Serialized additional information to attach to the termination eventsetDetails(Payloads.Builder builderForValue) Serialized additional information to attach to the termination eventsetFirstExecutionRunId(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.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.setIdentity(String value) The identity of the worker/clientsetIdentityBytes(com.google.protobuf.ByteString value) The identity of the worker/clientLinks to be associated with the WorkflowExecutionTerminated event.setLinks(int index, Link.Builder builderForValue) Links to be associated with the WorkflowExecutionTerminated event.setNamespace(String value) string namespace = 1;setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;string reason = 3;setReasonBytes(com.google.protobuf.ByteString value) string reason = 3;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;setWorkflowExecution(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, 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<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
- 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<TerminateWorkflowExecutionRequest.Builder>
-
setField
public TerminateWorkflowExecutionRequest.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<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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TerminateWorkflowExecutionRequest.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
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
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
.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
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2; -
clearWorkflowExecution
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2; -
getWorkflowExecutionBuilder
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2; -
getWorkflowExecutionOrBuilder
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionOrBuilderin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
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
string reason = 3;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
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
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;- Specified by:
getDetailsin interfaceTerminateWorkflowExecutionRequestOrBuilder- Returns:
- The details.
-
setDetails
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4; -
setDetails
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4; -
mergeDetails
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4; -
clearDetails
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4; -
getDetailsBuilder
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4; -
getDetailsOrBuilder
Serialized additional information to attach to the termination event
.temporal.api.common.v1.Payloads details = 4;- Specified by:
getDetailsOrBuilderin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
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
The identity of the worker/client
string identity = 5;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
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
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
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
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
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
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;- Specified by:
getLinksin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
setLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
setLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
addLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
addLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
addLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
addLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
addAllLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
clearLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
removeLinks
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
getLinksBuilder
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
getLinksOrBuilder
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;- Specified by:
getLinksOrBuilderin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
getLinksOrBuilderList
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7;- Specified by:
getLinksOrBuilderListin interfaceTerminateWorkflowExecutionRequestOrBuilder
-
addLinksBuilder
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
addLinksBuilder
Links to be associated with the WorkflowExecutionTerminated event.
repeated .temporal.api.common.v1.Link links = 7; -
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>
-