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

    Modifier and Type
    Method
    Description
    .temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1;
    int
    .temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1;
    Deprecated.
    temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.control is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.control is deprecated.
    long
    id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure corresponds to
    Namespace of the workflow which failed to cancel.
    com.google.protobuf.ByteString
    Namespace of the workflow which failed to cancel.
    string namespace_id = 7;
    com.google.protobuf.ByteString
    string namespace_id = 7;
    .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
    .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
    long
    The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
    boolean
    .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getCauseValue

      int getCauseValue()
      .temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1;
      Returns:
      The enum numeric value on the wire for cause.
    • 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

      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

      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

      @Deprecated String getControl()
      Deprecated.
      temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=672
       Deprecated.
       
      string control = 6 [deprecated = true];
      Returns:
      The control.
    • getControlBytes

      @Deprecated com.google.protobuf.ByteString getControlBytes()
      Deprecated.
      temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=672
       Deprecated.
       
      string control = 6 [deprecated = true];
      Returns:
      The bytes for control.