Interface RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RequestCancelExternalWorkflowExecutionCommandAttributes, RequestCancelExternalWorkflowExecutionCommandAttributes.Builder

@Generated(value="protoc", comments="annotations:RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder.java.pb.meta") public interface RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Set this to true if the workflow being cancelled is a child of the workflow originating this command.
    Deprecated.
    temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.control is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.control is deprecated.
    Deprecated.
    temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.namespace is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.namespace is deprecated.
    Reason for requesting the cancellation
    com.google.protobuf.ByteString
    Reason for requesting the cancellation
    string run_id = 3;
    com.google.protobuf.ByteString
    string run_id = 3;
    string workflow_id = 2;
    com.google.protobuf.ByteString
    string workflow_id = 2;

    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

    • getNamespace

      @Deprecated String getNamespace()
      Deprecated.
      temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.namespace is deprecated. See temporal/api/command/v1/message.proto;l=107
       Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
       
      string namespace = 1 [deprecated = true];
      Returns:
      The namespace.
    • getNamespaceBytes

      @Deprecated com.google.protobuf.ByteString getNamespaceBytes()
      Deprecated.
      temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.namespace is deprecated. See temporal/api/command/v1/message.proto;l=107
       Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
       
      string namespace = 1 [deprecated = true];
      Returns:
      The bytes for namespace.
    • getWorkflowId

      String getWorkflowId()
      string workflow_id = 2;
      Returns:
      The workflowId.
    • getWorkflowIdBytes

      com.google.protobuf.ByteString getWorkflowIdBytes()
      string workflow_id = 2;
      Returns:
      The bytes for workflowId.
    • getRunId

      String getRunId()
      string run_id = 3;
      Returns:
      The runId.
    • getRunIdBytes

      com.google.protobuf.ByteString getRunIdBytes()
      string run_id = 3;
      Returns:
      The bytes for runId.
    • getControl

      @Deprecated String getControl()
      Deprecated.
      temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.control is deprecated. See temporal/api/command/v1/message.proto;l=111
       Deprecated.
       
      string control = 4 [deprecated = true];
      Returns:
      The control.
    • getControlBytes

      @Deprecated com.google.protobuf.ByteString getControlBytes()
      Deprecated.
      temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.control is deprecated. See temporal/api/command/v1/message.proto;l=111
       Deprecated.
       
      string control = 4 [deprecated = true];
      Returns:
      The bytes for control.
    • getChildWorkflowOnly

      boolean getChildWorkflowOnly()
       Set this to true if the workflow being cancelled is a child of the workflow originating this
       command. The request will be rejected if it is set to true and the target workflow is *not*
       a child of the requesting workflow.
       
      bool child_workflow_only = 5;
      Returns:
      The childWorkflowOnly.
    • getReason

      String getReason()
       Reason for requesting the cancellation
       
      string reason = 6;
      Returns:
      The reason.
    • getReasonBytes

      com.google.protobuf.ByteString getReasonBytes()
       Reason for requesting the cancellation
       
      string reason = 6;
      Returns:
      The bytes for reason.