Enum Class CommandType

java.lang.Object
java.lang.Enum<CommandType>
io.temporal.api.enums.v1.CommandType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<CommandType>, Constable

@Generated(value="protoc", comments="annotations:CommandType.java.pb.meta") public enum CommandType extends Enum<CommandType> implements com.google.protobuf.ProtocolMessageEnum
 Whenever this list of command types is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering.
 
Protobuf enum temporal.api.enums.v1.CommandType
  • Enum Constant Details

    • COMMAND_TYPE_UNSPECIFIED

      public static final CommandType COMMAND_TYPE_UNSPECIFIED
      COMMAND_TYPE_UNSPECIFIED = 0;
    • COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK

      public static final CommandType COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK
      COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1;
    • COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK

      public static final CommandType COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
      COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2;
    • COMMAND_TYPE_START_TIMER

      public static final CommandType COMMAND_TYPE_START_TIMER
      COMMAND_TYPE_START_TIMER = 3;
    • COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION

      public static final CommandType COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
      COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4;
    • COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION

      public static final CommandType COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
      COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5;
    • COMMAND_TYPE_CANCEL_TIMER

      public static final CommandType COMMAND_TYPE_CANCEL_TIMER
      COMMAND_TYPE_CANCEL_TIMER = 6;
    • COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION

      public static final CommandType COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
      COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7;
    • COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION

      public static final CommandType COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
      COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION = 8;
    • COMMAND_TYPE_RECORD_MARKER

      public static final CommandType COMMAND_TYPE_RECORD_MARKER
      COMMAND_TYPE_RECORD_MARKER = 9;
    • COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION

      public static final CommandType COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
      COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION = 10;
    • COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION

      public static final CommandType COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
      COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11;
    • COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION

      public static final CommandType COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
      COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12;
    • COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES

      public static final CommandType COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
      COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13;
    • COMMAND_TYPE_PROTOCOL_MESSAGE

      public static final CommandType COMMAND_TYPE_PROTOCOL_MESSAGE
      COMMAND_TYPE_PROTOCOL_MESSAGE = 14;
    • COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES

      public static final CommandType COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
      COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16;
    • COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION

      public static final CommandType COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
      COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17;
    • COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION

      public static final CommandType COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
      COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18;
    • UNRECOGNIZED

      public static final CommandType UNRECOGNIZED
  • Field Details

    • COMMAND_TYPE_UNSPECIFIED_VALUE

      public static final int COMMAND_TYPE_UNSPECIFIED_VALUE
      COMMAND_TYPE_UNSPECIFIED = 0;
      See Also:
    • COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK_VALUE

      public static final int COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK_VALUE
      COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1;
      See Also:
    • COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK_VALUE

      public static final int COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK_VALUE
      COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2;
      See Also:
    • COMMAND_TYPE_START_TIMER_VALUE

      public static final int COMMAND_TYPE_START_TIMER_VALUE
      COMMAND_TYPE_START_TIMER = 3;
      See Also:
    • COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION_VALUE

      public static final int COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION_VALUE
      COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4;
      See Also:
    • COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION_VALUE

      public static final int COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION_VALUE
      COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5;
      See Also:
    • COMMAND_TYPE_CANCEL_TIMER_VALUE

      public static final int COMMAND_TYPE_CANCEL_TIMER_VALUE
      COMMAND_TYPE_CANCEL_TIMER = 6;
      See Also:
    • COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION_VALUE

      public static final int COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION_VALUE
      COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7;
      See Also:
    • COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_VALUE

      public static final int COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_VALUE
      COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION = 8;
      See Also:
    • COMMAND_TYPE_RECORD_MARKER_VALUE

      public static final int COMMAND_TYPE_RECORD_MARKER_VALUE
      COMMAND_TYPE_RECORD_MARKER = 9;
      See Also:
    • COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION_VALUE

      public static final int COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION_VALUE
      COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION = 10;
      See Also:
    • COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION_VALUE

      public static final int COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION_VALUE
      COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11;
      See Also:
    • COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_VALUE

      public static final int COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_VALUE
      COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12;
      See Also:
    • COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_VALUE

      public static final int COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_VALUE
      COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13;
      See Also:
    • COMMAND_TYPE_PROTOCOL_MESSAGE_VALUE

      public static final int COMMAND_TYPE_PROTOCOL_MESSAGE_VALUE
      COMMAND_TYPE_PROTOCOL_MESSAGE = 14;
      See Also:
    • COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES_VALUE

      public static final int COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES_VALUE
      COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16;
      See Also:
    • COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION_VALUE

      public static final int COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION_VALUE
      COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17;
      See Also:
    • COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION_VALUE

      public static final int COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION_VALUE
      COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18;
      See Also:
  • Method Details

    • values

      public static CommandType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CommandType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static CommandType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static CommandType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<CommandType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static CommandType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null