Package io.temporal.api.history.v1
Interface RequestCancelExternalWorkflowExecutionFailedEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RequestCancelExternalWorkflowExecutionFailedEventAttributes
,RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder
@Generated(value="protoc", comments="annotations:RequestCancelExternalWorkflowExecutionFailedEventAttributesOrBuilder.java.pb.meta") public interface RequestCancelExternalWorkflowExecutionFailedEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CancelExternalWorkflowExecutionFailedCause
getCause()
.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1;
int
getCauseValue()
.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1;
java.lang.String
getControl()
Deprecatedcom.google.protobuf.ByteString
getControlBytes()
Deprecatedlong
getInitiatedEventId()
id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure corresponds tojava.lang.String
getNamespace()
Namespace of the workflow which failed to cancel.com.google.protobuf.ByteString
getNamespaceBytes()
Namespace of the workflow which failed to cancel.java.lang.String
getNamespaceId()
string namespace_id = 7;
com.google.protobuf.ByteString
getNamespaceIdBytes()
string namespace_id = 7;
WorkflowExecution
getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
WorkflowExecutionOrBuilder
getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
long
getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported withboolean
hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCauseValue
int getCauseValue()
.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1;
- Returns:
- The enum numeric value on the wire for cause.
-
getCause
CancelExternalWorkflowExecutionFailedCause getCause()
.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1;
- Returns:
- The cause.
-
getWorkflowTaskCompletedEventId
long getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 2;
- Returns:
- The workflowTaskCompletedEventId.
-
getNamespace
java.lang.String getNamespace()
Namespace of the workflow which failed to cancel. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 3;
- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()
Namespace of the workflow which failed to cancel. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 3;
- Returns:
- The bytes for namespace.
-
getNamespaceId
java.lang.String getNamespaceId()
string namespace_id = 7;
- Returns:
- The namespaceId.
-
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 = 4;
- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- Returns:
- The workflowExecution.
-
getWorkflowExecutionOrBuilder
WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
getInitiatedEventId
long getInitiatedEventId()
id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure corresponds to
int64 initiated_event_id = 5;
- Returns:
- The initiatedEventId.
-
getControl
java.lang.String getControl()
Deprecated
string control = 6;
- Returns:
- The control.
-
getControlBytes
com.google.protobuf.ByteString getControlBytes()
Deprecated
string control = 6;
- Returns:
- The bytes for control.
-
-