Interface RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RequestCancelExternalWorkflowExecutionCommandAttributes,RequestCancelExternalWorkflowExecutionCommandAttributes.Builder
@Generated(value="protoc",
comments="annotations:RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder.java.pb.meta")
public interface RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSet this to true if the workflow being cancelled is a child of the workflow originating this command.Deprecated.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.control is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.control is deprecated.Deprecated.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.namespace is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.namespace is deprecated.Reason for requesting the cancellationcom.google.protobuf.ByteStringReason for requesting the cancellationgetRunId()string run_id = 3;com.google.protobuf.ByteStringstring run_id = 3;string workflow_id = 2;com.google.protobuf.ByteStringstring workflow_id = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNamespace
Deprecated.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.namespace is deprecated. See temporal/api/command/v1/message.proto;l=107Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
string namespace = 1 [deprecated = true];- Returns:
- The namespace.
-
getNamespaceBytes
Deprecated.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.namespace is deprecated. See temporal/api/command/v1/message.proto;l=107Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
string namespace = 1 [deprecated = true];- Returns:
- The bytes for namespace.
-
getWorkflowId
-
getWorkflowIdBytes
com.google.protobuf.ByteString getWorkflowIdBytes()string workflow_id = 2;- Returns:
- The bytes for workflowId.
-
getRunId
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()string run_id = 3;- Returns:
- The bytes for runId.
-
getControl
Deprecated.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.control is deprecated. See temporal/api/command/v1/message.proto;l=111Deprecated.
string control = 4 [deprecated = true];- Returns:
- The control.
-
getControlBytes
Deprecated.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.control is deprecated. See temporal/api/command/v1/message.proto;l=111Deprecated.
string control = 4 [deprecated = true];- Returns:
- The bytes for control.
-
getChildWorkflowOnly
boolean getChildWorkflowOnly()Set this to true if the workflow being cancelled is a child of the workflow originating this command. The request will be rejected if it is set to true and the target workflow is *not* a child of the requesting workflow.
bool child_workflow_only = 5;- Returns:
- The childWorkflowOnly.
-
getReason
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()Reason for requesting the cancellation
string reason = 6;- Returns:
- The bytes for reason.
-