Interface WorkflowExecutionCancelRequestedEventAttributesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkflowExecutionCancelRequestedEventAttributes,WorkflowExecutionCancelRequestedEventAttributes.Builder
@Generated(value="protoc",
comments="annotations:WorkflowExecutionCancelRequestedEventAttributesOrBuilder.java.pb.meta")
public interface WorkflowExecutionCancelRequestedEventAttributesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCause()User provided reason for requesting cancellationcom.google.protobuf.ByteStringUser provided reason for requesting cancellationlongThe ID of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event in the external workflow history when the cancellation was requested by another workflow..temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;id of the worker or client who requested this cancelcom.google.protobuf.ByteStringid of the worker or client who requested this cancelboolean.temporal.api.common.v1.WorkflowExecution external_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
-
getCause
String getCause()User provided reason for requesting cancellation
string cause = 1;- Returns:
- The cause.
-
getCauseBytes
com.google.protobuf.ByteString getCauseBytes()User provided reason for requesting cancellation
string cause = 1;- Returns:
- The bytes for cause.
-
getExternalInitiatedEventId
long getExternalInitiatedEventId()The ID of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event in the external workflow history when the cancellation was requested by another workflow.
int64 external_initiated_event_id = 2;- Returns:
- The externalInitiatedEventId.
-
hasExternalWorkflowExecution
boolean hasExternalWorkflowExecution().temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;- Returns:
- Whether the externalWorkflowExecution field is set.
-
getExternalWorkflowExecution
WorkflowExecution getExternalWorkflowExecution().temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;- Returns:
- The externalWorkflowExecution.
-
getExternalWorkflowExecutionOrBuilder
WorkflowExecutionOrBuilder getExternalWorkflowExecutionOrBuilder().temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3; -
getIdentity
String getIdentity()id of the worker or client who requested this cancel
string identity = 4;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()id of the worker or client who requested this cancel
string identity = 4;- Returns:
- The bytes for identity.
-