Interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes,RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder
@Generated(value="protoc",
comments="annotations:RequestCancelExternalWorkflowExecutionInitiatedEventAttributesOrBuilder.java.pb.meta")
public interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWorkers are expected to set this to true if the workflow they are requesting to cancel is a child of the workflow which issued the requestDeprecated.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.control is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.control is deprecated.The namespace the workflow to be cancelled lives in.com.google.protobuf.ByteStringThe namespace the workflow to be cancelled lives in.string namespace_id = 7;com.google.protobuf.ByteStringstring namespace_id = 7;Reason for requesting the cancellationcom.google.protobuf.ByteStringReason for requesting the cancellation.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;longThe `WORKFLOW_TASK_COMPLETED` event which this command was reported withboolean.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;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
-
getWorkflowTaskCompletedEventId
long getWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 1;- Returns:
- The workflowTaskCompletedEventId.
-
getNamespace
String getNamespace()The namespace the workflow to be cancelled lives in. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()The namespace the workflow to be cancelled lives in. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Returns:
- The bytes for namespace.
-
getNamespaceId
-
getNamespaceIdBytes
com.google.protobuf.ByteString getNamespaceIdBytes()string namespace_id = 7;- Returns:
- The bytes for namespaceId.
-
hasWorkflowExecution
boolean hasWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 3;- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
WorkflowExecution getWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 3;- Returns:
- The workflowExecution.
-
getWorkflowExecutionOrBuilder
WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution workflow_execution = 3; -
getControl
Deprecated.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=651Deprecated.
string control = 4 [deprecated = true];- Returns:
- The control.
-
getControlBytes
Deprecated.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=651Deprecated.
string control = 4 [deprecated = true];- Returns:
- The bytes for control.
-
getChildWorkflowOnly
boolean getChildWorkflowOnly()Workers are expected to set this to true if the workflow they are requesting to cancel is a child of the workflow which issued the request
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.
-