Enum CommandType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<CommandType>

    @Generated(value="protoc",
               comments="annotations:CommandType.java.pb.meta")
    public enum CommandType
    extends java.lang.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 Detail

      • 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;
      • UNRECOGNIZED

        public static final CommandType UNRECOGNIZED
    • Field Detail

      • COMMAND_TYPE_UNSPECIFIED_VALUE

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

        public static final int COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK_VALUE
        COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • COMMAND_TYPE_START_TIMER_VALUE

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

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

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

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

        public static final int COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION_VALUE
        COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • COMMAND_TYPE_RECORD_MARKER_VALUE

        public static final int COMMAND_TYPE_RECORD_MARKER_VALUE
        COMMAND_TYPE_RECORD_MARKER = 9;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • COMMAND_TYPE_PROTOCOL_MESSAGE_VALUE

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

        public static final int COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES_VALUE
        COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static CommandType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CommandType c : CommandType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CommandType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null