Enum Class 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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCOMMAND_TYPE_CANCEL_TIMER = 6;COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7;COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4;COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION = 10;COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5;COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16;COMMAND_TYPE_PROTOCOL_MESSAGE = 14;COMMAND_TYPE_RECORD_MARKER = 9;COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2;COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION = 8;COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18;COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1;COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17;COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12;COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11;COMMAND_TYPE_START_TIMER = 3;COMMAND_TYPE_UNSPECIFIED = 0;COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCOMMAND_TYPE_CANCEL_TIMER = 6;static final intCOMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7;static final intCOMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4;static final intCOMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION = 10;static final intCOMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5;static final intCOMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16;static final intCOMMAND_TYPE_PROTOCOL_MESSAGE = 14;static final intCOMMAND_TYPE_RECORD_MARKER = 9;static final intCOMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2;static final intCOMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION = 8;static final intCOMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18;static final intCOMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1;static final intCOMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17;static final intCOMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12;static final intCOMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11;static final intCOMMAND_TYPE_START_TIMER = 3;static final intCOMMAND_TYPE_UNSPECIFIED = 0;static final intCOMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13; -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CommandType> static CommandTypevalueOf(int value) Deprecated.static CommandTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CommandTypeReturns the enum constant of this class with the specified name.static CommandType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMAND_TYPE_UNSPECIFIED
COMMAND_TYPE_UNSPECIFIED = 0; -
COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK
COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1; -
COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2; -
COMMAND_TYPE_START_TIMER
COMMAND_TYPE_START_TIMER = 3; -
COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4; -
COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5; -
COMMAND_TYPE_CANCEL_TIMER
COMMAND_TYPE_CANCEL_TIMER = 6; -
COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7; -
COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION = 8; -
COMMAND_TYPE_RECORD_MARKER
COMMAND_TYPE_RECORD_MARKER = 9; -
COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION = 10; -
COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11; -
COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12; -
COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13; -
COMMAND_TYPE_PROTOCOL_MESSAGE
COMMAND_TYPE_PROTOCOL_MESSAGE = 14; -
COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16; -
COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17; -
COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18; -
UNRECOGNIZED
-
-
Field Details
-
COMMAND_TYPE_UNSPECIFIED_VALUE
public static final int COMMAND_TYPE_UNSPECIFIED_VALUECOMMAND_TYPE_UNSPECIFIED = 0;- See Also:
-
COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK_VALUE
public static final int COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK_VALUECOMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1;- See Also:
-
COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK_VALUE
public static final int COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK_VALUECOMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2;- See Also:
-
COMMAND_TYPE_START_TIMER_VALUE
public static final int COMMAND_TYPE_START_TIMER_VALUECOMMAND_TYPE_START_TIMER = 3;- See Also:
-
COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION_VALUE
public static final int COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION_VALUECOMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4;- See Also:
-
COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION_VALUE
public static final int COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION_VALUECOMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5;- See Also:
-
COMMAND_TYPE_CANCEL_TIMER_VALUE
public static final int COMMAND_TYPE_CANCEL_TIMER_VALUECOMMAND_TYPE_CANCEL_TIMER = 6;- See Also:
-
COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION_VALUE
public static final int COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION_VALUECOMMAND_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_VALUECOMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION = 8;- See Also:
-
COMMAND_TYPE_RECORD_MARKER_VALUE
public static final int COMMAND_TYPE_RECORD_MARKER_VALUECOMMAND_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_VALUECOMMAND_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_VALUECOMMAND_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_VALUECOMMAND_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_VALUECOMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13;- See Also:
-
COMMAND_TYPE_PROTOCOL_MESSAGE_VALUE
public static final int COMMAND_TYPE_PROTOCOL_MESSAGE_VALUECOMMAND_TYPE_PROTOCOL_MESSAGE = 14;- See Also:
-
COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES_VALUE
public static final int COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES_VALUECOMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16;- See Also:
-
COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION_VALUE
public static final int COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION_VALUECOMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17;- See Also:
-
COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION_VALUE
public static final int COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION_VALUECOMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-