Class RequestCancelWorkflowExecutionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RequestCancelWorkflowExecutionRequest.Builder>
-
- io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RequestCancelWorkflowExecutionRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- RequestCancelWorkflowExecutionRequest
public static final class RequestCancelWorkflowExecutionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RequestCancelWorkflowExecutionRequest.Builder> implements RequestCancelWorkflowExecutionRequestOrBuilder
Protobuf typetemporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestCancelWorkflowExecutionRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)RequestCancelWorkflowExecutionRequestbuild()RequestCancelWorkflowExecutionRequestbuildPartial()RequestCancelWorkflowExecutionRequest.Builderclear()RequestCancelWorkflowExecutionRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RequestCancelWorkflowExecutionRequest.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.RequestCancelWorkflowExecutionRequest.BuilderclearIdentity()The identity of the worker/clientRequestCancelWorkflowExecutionRequest.BuilderclearNamespace()string namespace = 1;RequestCancelWorkflowExecutionRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RequestCancelWorkflowExecutionRequest.BuilderclearReason()Reason for requesting the cancellationRequestCancelWorkflowExecutionRequest.BuilderclearRequestId()Used to de-dupe cancellation requestsRequestCancelWorkflowExecutionRequest.BuilderclearWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;RequestCancelWorkflowExecutionRequest.Builderclone()RequestCancelWorkflowExecutionRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.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/clientjava.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;java.lang.StringgetReason()Reason for requesting the cancellationcom.google.protobuf.ByteStringgetReasonBytes()Reason for requesting the cancellationjava.lang.StringgetRequestId()Used to de-dupe cancellation requestscom.google.protobuf.ByteStringgetRequestIdBytes()Used to de-dupe cancellation requestsWorkflowExecutiongetWorkflowExecution().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;booleanhasWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RequestCancelWorkflowExecutionRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RequestCancelWorkflowExecutionRequest.BuildermergeFrom(com.google.protobuf.Message other)RequestCancelWorkflowExecutionRequest.BuildermergeFrom(RequestCancelWorkflowExecutionRequest other)RequestCancelWorkflowExecutionRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RequestCancelWorkflowExecutionRequest.BuildermergeWorkflowExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;RequestCancelWorkflowExecutionRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)RequestCancelWorkflowExecutionRequest.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.RequestCancelWorkflowExecutionRequest.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.RequestCancelWorkflowExecutionRequest.BuildersetIdentity(java.lang.String value)The identity of the worker/clientRequestCancelWorkflowExecutionRequest.BuildersetIdentityBytes(com.google.protobuf.ByteString value)The identity of the worker/clientRequestCancelWorkflowExecutionRequest.BuildersetNamespace(java.lang.String value)string namespace = 1;RequestCancelWorkflowExecutionRequest.BuildersetNamespaceBytes(com.google.protobuf.ByteString value)string namespace = 1;RequestCancelWorkflowExecutionRequest.BuildersetReason(java.lang.String value)Reason for requesting the cancellationRequestCancelWorkflowExecutionRequest.BuildersetReasonBytes(com.google.protobuf.ByteString value)Reason for requesting the cancellationRequestCancelWorkflowExecutionRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)RequestCancelWorkflowExecutionRequest.BuildersetRequestId(java.lang.String value)Used to de-dupe cancellation requestsRequestCancelWorkflowExecutionRequest.BuildersetRequestIdBytes(com.google.protobuf.ByteString value)Used to de-dupe cancellation requestsRequestCancelWorkflowExecutionRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RequestCancelWorkflowExecutionRequest.BuildersetWorkflowExecution(WorkflowExecution value).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;RequestCancelWorkflowExecutionRequest.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, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RequestCancelWorkflowExecutionRequest.Builder>
-
clear
public RequestCancelWorkflowExecutionRequest.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<RequestCancelWorkflowExecutionRequest.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<RequestCancelWorkflowExecutionRequest.Builder>
-
getDefaultInstanceForType
public RequestCancelWorkflowExecutionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RequestCancelWorkflowExecutionRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RequestCancelWorkflowExecutionRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RequestCancelWorkflowExecutionRequest.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<RequestCancelWorkflowExecutionRequest.Builder>
-
setField
public RequestCancelWorkflowExecutionRequest.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<RequestCancelWorkflowExecutionRequest.Builder>
-
clearField
public RequestCancelWorkflowExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestCancelWorkflowExecutionRequest.Builder>
-
clearOneof
public RequestCancelWorkflowExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestCancelWorkflowExecutionRequest.Builder>
-
setRepeatedField
public RequestCancelWorkflowExecutionRequest.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<RequestCancelWorkflowExecutionRequest.Builder>
-
addRepeatedField
public RequestCancelWorkflowExecutionRequest.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<RequestCancelWorkflowExecutionRequest.Builder>
-
mergeFrom
public RequestCancelWorkflowExecutionRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RequestCancelWorkflowExecutionRequest.Builder>
-
mergeFrom
public RequestCancelWorkflowExecutionRequest.Builder mergeFrom(RequestCancelWorkflowExecutionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestCancelWorkflowExecutionRequest.Builder>
-
mergeFrom
public RequestCancelWorkflowExecutionRequest.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<RequestCancelWorkflowExecutionRequest.Builder>- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;- Specified by:
getNamespacein interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
public RequestCancelWorkflowExecutionRequest.Builder setNamespace(java.lang.String value)
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public RequestCancelWorkflowExecutionRequest.Builder clearNamespace()
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public RequestCancelWorkflowExecutionRequest.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 interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
public RequestCancelWorkflowExecutionRequest.Builder setWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
setWorkflowExecution
public RequestCancelWorkflowExecutionRequest.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
mergeWorkflowExecution
public RequestCancelWorkflowExecutionRequest.Builder mergeWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
clearWorkflowExecution
public RequestCancelWorkflowExecutionRequest.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 interfaceRequestCancelWorkflowExecutionRequestOrBuilder
-
getIdentity
public java.lang.String getIdentity()
The identity of the worker/client
string identity = 3;- Specified by:
getIdentityin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client
string identity = 3;- Specified by:
getIdentityBytesin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
public RequestCancelWorkflowExecutionRequest.Builder setIdentity(java.lang.String value)
The identity of the worker/client
string identity = 3;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public RequestCancelWorkflowExecutionRequest.Builder clearIdentity()
The identity of the worker/client
string identity = 3;- Returns:
- This builder for chaining.
-
setIdentityBytes
public RequestCancelWorkflowExecutionRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the worker/client
string identity = 3;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getRequestId
public java.lang.String getRequestId()
Used to de-dupe cancellation requests
string request_id = 4;- Specified by:
getRequestIdin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
Used to de-dupe cancellation requests
string request_id = 4;- Specified by:
getRequestIdBytesin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
public RequestCancelWorkflowExecutionRequest.Builder setRequestId(java.lang.String value)
Used to de-dupe cancellation requests
string request_id = 4;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public RequestCancelWorkflowExecutionRequest.Builder clearRequestId()
Used to de-dupe cancellation requests
string request_id = 4;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public RequestCancelWorkflowExecutionRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Used to de-dupe cancellation requests
string request_id = 4;- Parameters:
value- The bytes for requestId 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 = 5;- Specified by:
getFirstExecutionRunIdin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- 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 = 5;- Specified by:
getFirstExecutionRunIdBytesin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for firstExecutionRunId.
-
setFirstExecutionRunId
public RequestCancelWorkflowExecutionRequest.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 = 5;- Parameters:
value- The firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearFirstExecutionRunId
public RequestCancelWorkflowExecutionRequest.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 = 5;- Returns:
- This builder for chaining.
-
setFirstExecutionRunIdBytes
public RequestCancelWorkflowExecutionRequest.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 = 5;- Parameters:
value- The bytes for firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
getReason
public java.lang.String getReason()
Reason for requesting the cancellation
string reason = 6;- Specified by:
getReasonin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
Reason for requesting the cancellation
string reason = 6;- Specified by:
getReasonBytesin interfaceRequestCancelWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for reason.
-
setReason
public RequestCancelWorkflowExecutionRequest.Builder setReason(java.lang.String value)
Reason for requesting the cancellation
string reason = 6;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
public RequestCancelWorkflowExecutionRequest.Builder clearReason()
Reason for requesting the cancellation
string reason = 6;- Returns:
- This builder for chaining.
-
setReasonBytes
public RequestCancelWorkflowExecutionRequest.Builder setReasonBytes(com.google.protobuf.ByteString value)
Reason for requesting the cancellation
string reason = 6;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RequestCancelWorkflowExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestCancelWorkflowExecutionRequest.Builder>
-
mergeUnknownFields
public final RequestCancelWorkflowExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestCancelWorkflowExecutionRequest.Builder>
-
-