Package io.temporal.api.history.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCause()
User provided reason for requesting cancellation TODO: shall we create a new field with name "reason" and deprecate this one?com.google.protobuf.ByteString
getCauseBytes()
User provided reason for requesting cancellation TODO: shall we create a new field with name "reason" and deprecate this one?long
getExternalInitiatedEventId()
TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?WorkflowExecution
getExternalWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;
WorkflowExecutionOrBuilder
getExternalWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;
java.lang.String
getIdentity()
id of the worker or client who requested this cancelcom.google.protobuf.ByteString
getIdentityBytes()
id of the worker or client who requested this cancelboolean
hasExternalWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 3;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCause
java.lang.String getCause()
User provided reason for requesting cancellation TODO: shall we create a new field with name "reason" and deprecate this one?
string cause = 1;
- Returns:
- The cause.
-
getCauseBytes
com.google.protobuf.ByteString getCauseBytes()
User provided reason for requesting cancellation TODO: shall we create a new field with name "reason" and deprecate this one?
string cause = 1;
- Returns:
- The bytes for cause.
-
getExternalInitiatedEventId
long getExternalInitiatedEventId()
TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?
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
java.lang.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.
-
-