Class TerminateWorkflowExecutionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TerminateWorkflowExecutionRequest
build()
TerminateWorkflowExecutionRequest
buildPartial()
TerminateWorkflowExecutionRequest.Builder
clear()
TerminateWorkflowExecutionRequest.Builder
clearDetails()
Serialized additional information to attach to the termination eventTerminateWorkflowExecutionRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
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.TerminateWorkflowExecutionRequest.Builder
clearIdentity()
The identity of the worker/clientTerminateWorkflowExecutionRequest.Builder
clearNamespace()
string namespace = 1;
TerminateWorkflowExecutionRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TerminateWorkflowExecutionRequest.Builder
clearReason()
string reason = 3;
TerminateWorkflowExecutionRequest.Builder
clearWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
TerminateWorkflowExecutionRequest.Builder
clone()
TerminateWorkflowExecutionRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Payloads
getDetails()
Serialized additional information to attach to the termination eventPayloads.Builder
getDetailsBuilder()
Serialized additional information to attach to the termination eventPayloadsOrBuilder
getDetailsOrBuilder()
Serialized additional information to attach to the termination eventjava.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.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.java.lang.String
getIdentity()
The identity of the worker/clientcom.google.protobuf.ByteString
getIdentityBytes()
The identity of the worker/clientjava.lang.String
getNamespace()
string namespace = 1;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 1;
java.lang.String
getReason()
string reason = 3;
com.google.protobuf.ByteString
getReasonBytes()
string reason = 3;
WorkflowExecution
getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
WorkflowExecution.Builder
getWorkflowExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
WorkflowExecutionOrBuilder
getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
boolean
hasDetails()
Serialized additional information to attach to the termination eventboolean
hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TerminateWorkflowExecutionRequest.Builder
mergeDetails(Payloads value)
Serialized additional information to attach to the termination eventTerminateWorkflowExecutionRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TerminateWorkflowExecutionRequest.Builder
mergeFrom(com.google.protobuf.Message other)
TerminateWorkflowExecutionRequest.Builder
mergeFrom(TerminateWorkflowExecutionRequest other)
TerminateWorkflowExecutionRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TerminateWorkflowExecutionRequest.Builder
mergeWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
TerminateWorkflowExecutionRequest.Builder
setDetails(Payloads value)
Serialized additional information to attach to the termination eventTerminateWorkflowExecutionRequest.Builder
setDetails(Payloads.Builder builderForValue)
Serialized additional information to attach to the termination eventTerminateWorkflowExecutionRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
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.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.TerminateWorkflowExecutionRequest.Builder
setIdentity(java.lang.String value)
The identity of the worker/clientTerminateWorkflowExecutionRequest.Builder
setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the worker/clientTerminateWorkflowExecutionRequest.Builder
setNamespace(java.lang.String value)
string namespace = 1;
TerminateWorkflowExecutionRequest.Builder
setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;
TerminateWorkflowExecutionRequest.Builder
setReason(java.lang.String value)
string reason = 3;
TerminateWorkflowExecutionRequest.Builder
setReasonBytes(com.google.protobuf.ByteString value)
string reason = 3;
TerminateWorkflowExecutionRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TerminateWorkflowExecutionRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TerminateWorkflowExecutionRequest.Builder
setWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
TerminateWorkflowExecutionRequest.Builder
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, 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<TerminateWorkflowExecutionRequest.Builder>
-
clear
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
getDefaultInstanceForType
public TerminateWorkflowExecutionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TerminateWorkflowExecutionRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TerminateWorkflowExecutionRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
setField
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
clearField
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
clearOneof
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
setRepeatedField
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
addRepeatedField
public TerminateWorkflowExecutionRequest.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<TerminateWorkflowExecutionRequest.Builder>
-
mergeFrom
public TerminateWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TerminateWorkflowExecutionRequest.Builder>
-
mergeFrom
public TerminateWorkflowExecutionRequest.Builder mergeFrom(TerminateWorkflowExecutionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TerminateWorkflowExecutionRequest.Builder>
- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;
- Specified by:
getNamespace
in interfaceTerminateWorkflowExecutionRequestOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;
- Specified by:
getNamespaceBytes
in 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:
hasWorkflowExecution
in interfaceTerminateWorkflowExecutionRequestOrBuilder
- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- Specified by:
getWorkflowExecution
in 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:
getWorkflowExecutionOrBuilder
in interfaceTerminateWorkflowExecutionRequestOrBuilder
-
getReason
public java.lang.String getReason()
string reason = 3;
- Specified by:
getReason
in interfaceTerminateWorkflowExecutionRequestOrBuilder
- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
string reason = 3;
- Specified by:
getReasonBytes
in 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:
hasDetails
in 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:
getDetails
in 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:
getDetailsOrBuilder
in interfaceTerminateWorkflowExecutionRequestOrBuilder
-
getIdentity
public java.lang.String getIdentity()
The identity of the worker/client
string identity = 5;
- Specified by:
getIdentity
in interfaceTerminateWorkflowExecutionRequestOrBuilder
- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client
string identity = 5;
- Specified by:
getIdentityBytes
in 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:
getFirstExecutionRunId
in 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:
getFirstExecutionRunIdBytes
in 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.
-
setUnknownFields
public final TerminateWorkflowExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
mergeUnknownFields
public final TerminateWorkflowExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TerminateWorkflowExecutionRequest.Builder>
-
-