Enum EventType

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

    @Generated(value="protoc",
               comments="annotations:EventType.java.pb.meta")
    public enum EventType
    extends java.lang.Enum<EventType>
    implements com.google.protobuf.ProtocolMessageEnum
     Whenever this list of events 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.EventType
    • Enum Constant Detail

      • EVENT_TYPE_UNSPECIFIED

        public static final EventType EVENT_TYPE_UNSPECIFIED
         Place holder and should never appear in a Workflow execution history
         
        EVENT_TYPE_UNSPECIFIED = 0;
      • EVENT_TYPE_WORKFLOW_EXECUTION_STARTED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_STARTED
         Workflow execution has been triggered/started
         It contains Workflow execution inputs, as well as Workflow timeout configurations
         
        EVENT_TYPE_WORKFLOW_EXECUTION_STARTED = 1;
      • EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
         Workflow execution has successfully completed and contains Workflow execution results
         
        EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED = 2;
      • EVENT_TYPE_WORKFLOW_EXECUTION_FAILED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
         Workflow execution has unsuccessfully completed and contains the Workflow execution error
         
        EVENT_TYPE_WORKFLOW_EXECUTION_FAILED = 3;
      • EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT
         Workflow execution has timed out by the Temporal Server
         Usually due to the Workflow having not been completed within timeout settings
         
        EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT = 4;
      • EVENT_TYPE_WORKFLOW_TASK_SCHEDULED

        public static final EventType EVENT_TYPE_WORKFLOW_TASK_SCHEDULED
         Workflow Task has been scheduled and the SDK client should now be able to process any new history events
         
        EVENT_TYPE_WORKFLOW_TASK_SCHEDULED = 5;
      • EVENT_TYPE_WORKFLOW_TASK_STARTED

        public static final EventType EVENT_TYPE_WORKFLOW_TASK_STARTED
         Workflow Task has started and the SDK client has picked up the Workflow Task and is processing new history events
         
        EVENT_TYPE_WORKFLOW_TASK_STARTED = 6;
      • EVENT_TYPE_WORKFLOW_TASK_COMPLETED

        public static final EventType EVENT_TYPE_WORKFLOW_TASK_COMPLETED
         Workflow Task has completed
         The SDK client picked up the Workflow Task and processed new history events
         SDK client may or may not ask the Temporal Server to do additional work, such as:
         EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
         EVENT_TYPE_TIMER_STARTED
         EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
         EVENT_TYPE_MARKER_RECORDED
         EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
         EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
         EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
         EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
         EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
         EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
         EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
         
        EVENT_TYPE_WORKFLOW_TASK_COMPLETED = 7;
      • EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT

        public static final EventType EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT
         Workflow Task encountered a timeout
         Either an SDK client with a local cache was not available at the time, or it took too long for the SDK client to process the task
         
        EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT = 8;
      • EVENT_TYPE_WORKFLOW_TASK_FAILED

        public static final EventType EVENT_TYPE_WORKFLOW_TASK_FAILED
         Workflow Task encountered a failure
         Usually this means that the Workflow was non-deterministic
         However, the Workflow reset functionality also uses this event
         
        EVENT_TYPE_WORKFLOW_TASK_FAILED = 9;
      • EVENT_TYPE_ACTIVITY_TASK_SCHEDULED

        public static final EventType EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
         Activity Task was scheduled
         The SDK client should pick up this activity task and execute
         This event type contains activity inputs, as well as activity timeout configurations
         
        EVENT_TYPE_ACTIVITY_TASK_SCHEDULED = 10;
      • EVENT_TYPE_ACTIVITY_TASK_STARTED

        public static final EventType EVENT_TYPE_ACTIVITY_TASK_STARTED
         Activity Task has started executing
         The SDK client has picked up the Activity Task and is processing the Activity invocation
         
        EVENT_TYPE_ACTIVITY_TASK_STARTED = 11;
      • EVENT_TYPE_ACTIVITY_TASK_COMPLETED

        public static final EventType EVENT_TYPE_ACTIVITY_TASK_COMPLETED
         Activity Task has finished successfully
         The SDK client has picked up and successfully completed the Activity Task
         This event type contains Activity execution results
         
        EVENT_TYPE_ACTIVITY_TASK_COMPLETED = 12;
      • EVENT_TYPE_ACTIVITY_TASK_FAILED

        public static final EventType EVENT_TYPE_ACTIVITY_TASK_FAILED
         Activity Task has finished unsuccessfully
         The SDK picked up the Activity Task but unsuccessfully completed it
         This event type contains Activity execution errors
         
        EVENT_TYPE_ACTIVITY_TASK_FAILED = 13;
      • EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT

        public static final EventType EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT
         Activity has timed out according to the Temporal Server
         Activity did not complete within the timeout settings
         
        EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT = 14;
      • EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED

        public static final EventType EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED
         A request to cancel the Activity has occurred
         The SDK client will be able to confirm cancellation of an Activity during an Activity heartbeat
         
        EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED = 15;
      • EVENT_TYPE_ACTIVITY_TASK_CANCELED

        public static final EventType EVENT_TYPE_ACTIVITY_TASK_CANCELED
         Activity has been cancelled
         
        EVENT_TYPE_ACTIVITY_TASK_CANCELED = 16;
      • EVENT_TYPE_TIMER_STARTED

        public static final EventType EVENT_TYPE_TIMER_STARTED
         A timer has started
         
        EVENT_TYPE_TIMER_STARTED = 17;
      • EVENT_TYPE_TIMER_FIRED

        public static final EventType EVENT_TYPE_TIMER_FIRED
         A timer has fired
         
        EVENT_TYPE_TIMER_FIRED = 18;
      • EVENT_TYPE_TIMER_CANCELED

        public static final EventType EVENT_TYPE_TIMER_CANCELED
         A time has been cancelled
         
        EVENT_TYPE_TIMER_CANCELED = 19;
      • EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED
         A request has been made to cancel the Workflow execution
         
        EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 20;
      • EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
         SDK client has confirmed the cancellation request and the Workflow execution has been cancelled
         
        EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED = 21;
      • EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED

        public static final EventType EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
         Workflow has requested that the Temporal Server try to cancel another Workflow
         
        EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED = 22;
      • EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED

        public static final EventType EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
         Temporal Server could not cancel the targeted Workflow
         This is usually because the target Workflow could not be found
         
        EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 23;
      • EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED

        public static final EventType EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
         Temporal Server has successfully requested the cancellation of the target Workflow
         
        EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 24;
      • EVENT_TYPE_MARKER_RECORDED

        public static final EventType EVENT_TYPE_MARKER_RECORDED
         A marker has been recorded.
         This event type is transparent to the Temporal Server
         The Server will only store it and will not try to understand it.
         
        EVENT_TYPE_MARKER_RECORDED = 25;
      • EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED
         Workflow has received a Signal event
         The event type contains the Signal name, as well as a Signal payload
         
        EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED = 26;
      • EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED
         Workflow execution has been forcefully terminated
         This is usually because the terminate Workflow API was called
         
        EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED = 27;
      • EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
         Workflow has successfully completed and a new Workflow has been started within the same transaction
         Contains last Workflow execution results as well as new Workflow execution inputs
         
        EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW = 28;
      • EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED

        public static final EventType EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
         Temporal Server will try to start a child Workflow
         
        EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED = 29;
      • EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED

        public static final EventType EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED
         Child Workflow execution cannot be started/triggered
         Usually due to a child Workflow ID collision
         
        EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED = 30;
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED

        public static final EventType EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED
         Child Workflow execution has successfully started/triggered
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED = 31;
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED

        public static final EventType EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED
         Child Workflow execution has successfully completed
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED = 32;
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED

        public static final EventType EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED
         Child Workflow execution has unsuccessfully completed
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED = 33;
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED

        public static final EventType EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED
         Child Workflow execution has been cancelled
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED = 34;
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT

        public static final EventType EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT
         Child Workflow execution has timed out by the Temporal Server
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT = 35;
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED

        public static final EventType EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED
         Child Workflow execution has been terminated
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED = 36;
      • EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED

        public static final EventType EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
         Temporal Server will try to Signal the targeted Workflow
         Contains the Signal name, as well as a Signal payload
         
        EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED = 37;
      • EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED

        public static final EventType EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
         Temporal Server cannot Signal the targeted Workflow
         Usually because the Workflow could not be found
         
        EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 38;
      • EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED

        public static final EventType EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED
         Temporal Server has successfully Signaled the targeted Workflow
         
        EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED = 39;
      • EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES

        public static final EventType EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
         Workflow search attributes should be updated and synchronized with the visibility store
         
        EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 40;
      • EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED
         An update was accepted (i.e. validated)
         
        EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED = 41;
      • EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED
         An update was rejected (i.e. failed validation)
         
        EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED = 42;
      • EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED

        public static final EventType EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED
         An update completed
         
        EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED = 43;
      • EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY

        public static final EventType EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY
         Some property or properties of the workflow as a whole have changed by non-workflow code.
         The distinction of external vs. command-based modification is important so the SDK can
         maintain determinism when using the command-based approach.
         
        EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY = 44;
      • EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY

        public static final EventType EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY
         Some property or properties of an already-scheduled activity have changed by non-workflow code.
         The distinction of external vs. command-based modification is important so the SDK can
         maintain determinism when using the command-based approach.
         
        EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY = 45;
      • EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED

        public static final EventType EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED
         Workflow properties modified by user workflow code
         
        EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED = 46;
      • UNRECOGNIZED

        public static final EventType UNRECOGNIZED
    • Field Detail

      • EVENT_TYPE_UNSPECIFIED_VALUE

        public static final int EVENT_TYPE_UNSPECIFIED_VALUE
         Place holder and should never appear in a Workflow execution history
         
        EVENT_TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_STARTED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_STARTED_VALUE
         Workflow execution has been triggered/started
         It contains Workflow execution inputs, as well as Workflow timeout configurations
         
        EVENT_TYPE_WORKFLOW_EXECUTION_STARTED = 1;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED_VALUE
         Workflow execution has successfully completed and contains Workflow execution results
         
        EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED = 2;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_FAILED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_FAILED_VALUE
         Workflow execution has unsuccessfully completed and contains the Workflow execution error
         
        EVENT_TYPE_WORKFLOW_EXECUTION_FAILED = 3;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT_VALUE
         Workflow execution has timed out by the Temporal Server
         Usually due to the Workflow having not been completed within timeout settings
         
        EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT = 4;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_TASK_SCHEDULED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_TASK_SCHEDULED_VALUE
         Workflow Task has been scheduled and the SDK client should now be able to process any new history events
         
        EVENT_TYPE_WORKFLOW_TASK_SCHEDULED = 5;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_TASK_STARTED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_TASK_STARTED_VALUE
         Workflow Task has started and the SDK client has picked up the Workflow Task and is processing new history events
         
        EVENT_TYPE_WORKFLOW_TASK_STARTED = 6;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_TASK_COMPLETED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_TASK_COMPLETED_VALUE
         Workflow Task has completed
         The SDK client picked up the Workflow Task and processed new history events
         SDK client may or may not ask the Temporal Server to do additional work, such as:
         EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
         EVENT_TYPE_TIMER_STARTED
         EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
         EVENT_TYPE_MARKER_RECORDED
         EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
         EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
         EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
         EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
         EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
         EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
         EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
         
        EVENT_TYPE_WORKFLOW_TASK_COMPLETED = 7;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT_VALUE

        public static final int EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT_VALUE
         Workflow Task encountered a timeout
         Either an SDK client with a local cache was not available at the time, or it took too long for the SDK client to process the task
         
        EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT = 8;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_TASK_FAILED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_TASK_FAILED_VALUE
         Workflow Task encountered a failure
         Usually this means that the Workflow was non-deterministic
         However, the Workflow reset functionality also uses this event
         
        EVENT_TYPE_WORKFLOW_TASK_FAILED = 9;
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTIVITY_TASK_SCHEDULED_VALUE

        public static final int EVENT_TYPE_ACTIVITY_TASK_SCHEDULED_VALUE
         Activity Task was scheduled
         The SDK client should pick up this activity task and execute
         This event type contains activity inputs, as well as activity timeout configurations
         
        EVENT_TYPE_ACTIVITY_TASK_SCHEDULED = 10;
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTIVITY_TASK_STARTED_VALUE

        public static final int EVENT_TYPE_ACTIVITY_TASK_STARTED_VALUE
         Activity Task has started executing
         The SDK client has picked up the Activity Task and is processing the Activity invocation
         
        EVENT_TYPE_ACTIVITY_TASK_STARTED = 11;
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTIVITY_TASK_COMPLETED_VALUE

        public static final int EVENT_TYPE_ACTIVITY_TASK_COMPLETED_VALUE
         Activity Task has finished successfully
         The SDK client has picked up and successfully completed the Activity Task
         This event type contains Activity execution results
         
        EVENT_TYPE_ACTIVITY_TASK_COMPLETED = 12;
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTIVITY_TASK_FAILED_VALUE

        public static final int EVENT_TYPE_ACTIVITY_TASK_FAILED_VALUE
         Activity Task has finished unsuccessfully
         The SDK picked up the Activity Task but unsuccessfully completed it
         This event type contains Activity execution errors
         
        EVENT_TYPE_ACTIVITY_TASK_FAILED = 13;
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT_VALUE

        public static final int EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT_VALUE
         Activity has timed out according to the Temporal Server
         Activity did not complete within the timeout settings
         
        EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT = 14;
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED_VALUE

        public static final int EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED_VALUE
         A request to cancel the Activity has occurred
         The SDK client will be able to confirm cancellation of an Activity during an Activity heartbeat
         
        EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED = 15;
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTIVITY_TASK_CANCELED_VALUE

        public static final int EVENT_TYPE_ACTIVITY_TASK_CANCELED_VALUE
         Activity has been cancelled
         
        EVENT_TYPE_ACTIVITY_TASK_CANCELED = 16;
        See Also:
        Constant Field Values
      • EVENT_TYPE_TIMER_STARTED_VALUE

        public static final int EVENT_TYPE_TIMER_STARTED_VALUE
         A timer has started
         
        EVENT_TYPE_TIMER_STARTED = 17;
        See Also:
        Constant Field Values
      • EVENT_TYPE_TIMER_FIRED_VALUE

        public static final int EVENT_TYPE_TIMER_FIRED_VALUE
         A timer has fired
         
        EVENT_TYPE_TIMER_FIRED = 18;
        See Also:
        Constant Field Values
      • EVENT_TYPE_TIMER_CANCELED_VALUE

        public static final int EVENT_TYPE_TIMER_CANCELED_VALUE
         A time has been cancelled
         
        EVENT_TYPE_TIMER_CANCELED = 19;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED_VALUE
         A request has been made to cancel the Workflow execution
         
        EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 20;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED_VALUE
         SDK client has confirmed the cancellation request and the Workflow execution has been cancelled
         
        EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED = 21;
        See Also:
        Constant Field Values
      • EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_VALUE

        public static final int EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_VALUE
         Workflow has requested that the Temporal Server try to cancel another Workflow
         
        EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED = 22;
        See Also:
        Constant Field Values
      • EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_VALUE

        public static final int EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_VALUE
         Temporal Server could not cancel the targeted Workflow
         This is usually because the target Workflow could not be found
         
        EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 23;
        See Also:
        Constant Field Values
      • EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_VALUE

        public static final int EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_VALUE
         Temporal Server has successfully requested the cancellation of the target Workflow
         
        EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 24;
        See Also:
        Constant Field Values
      • EVENT_TYPE_MARKER_RECORDED_VALUE

        public static final int EVENT_TYPE_MARKER_RECORDED_VALUE
         A marker has been recorded.
         This event type is transparent to the Temporal Server
         The Server will only store it and will not try to understand it.
         
        EVENT_TYPE_MARKER_RECORDED = 25;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED_VALUE
         Workflow has received a Signal event
         The event type contains the Signal name, as well as a Signal payload
         
        EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED = 26;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED_VALUE
         Workflow execution has been forcefully terminated
         This is usually because the terminate Workflow API was called
         
        EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED = 27;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW_VALUE
         Workflow has successfully completed and a new Workflow has been started within the same transaction
         Contains last Workflow execution results as well as new Workflow execution inputs
         
        EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW = 28;
        See Also:
        Constant Field Values
      • EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED_VALUE

        public static final int EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED_VALUE
         Temporal Server will try to start a child Workflow
         
        EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED = 29;
        See Also:
        Constant Field Values
      • EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED_VALUE

        public static final int EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED_VALUE
         Child Workflow execution cannot be started/triggered
         Usually due to a child Workflow ID collision
         
        EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED = 30;
        See Also:
        Constant Field Values
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED_VALUE

        public static final int EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED_VALUE
         Child Workflow execution has successfully started/triggered
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED = 31;
        See Also:
        Constant Field Values
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED_VALUE

        public static final int EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED_VALUE
         Child Workflow execution has successfully completed
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED = 32;
        See Also:
        Constant Field Values
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED_VALUE

        public static final int EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED_VALUE
         Child Workflow execution has unsuccessfully completed
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED = 33;
        See Also:
        Constant Field Values
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED_VALUE

        public static final int EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED_VALUE
         Child Workflow execution has been cancelled
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED = 34;
        See Also:
        Constant Field Values
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT_VALUE

        public static final int EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT_VALUE
         Child Workflow execution has timed out by the Temporal Server
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT = 35;
        See Also:
        Constant Field Values
      • EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED_VALUE

        public static final int EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED_VALUE
         Child Workflow execution has been terminated
         
        EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED = 36;
        See Also:
        Constant Field Values
      • EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_VALUE

        public static final int EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_VALUE
         Temporal Server will try to Signal the targeted Workflow
         Contains the Signal name, as well as a Signal payload
         
        EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED = 37;
        See Also:
        Constant Field Values
      • EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_VALUE

        public static final int EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_VALUE
         Temporal Server cannot Signal the targeted Workflow
         Usually because the Workflow could not be found
         
        EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 38;
        See Also:
        Constant Field Values
      • EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_VALUE

        public static final int EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_VALUE
         Temporal Server has successfully Signaled the targeted Workflow
         
        EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED = 39;
        See Also:
        Constant Field Values
      • EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_VALUE

        public static final int EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_VALUE
         Workflow search attributes should be updated and synchronized with the visibility store
         
        EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 40;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED_VALUE
         An update was accepted (i.e. validated)
         
        EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED = 41;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED_VALUE
         An update was rejected (i.e. failed validation)
         
        EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED = 42;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED_VALUE
         An update completed
         
        EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED = 43;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY_VALUE

        public static final int EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY_VALUE
         Some property or properties of the workflow as a whole have changed by non-workflow code.
         The distinction of external vs. command-based modification is important so the SDK can
         maintain determinism when using the command-based approach.
         
        EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY = 44;
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY_VALUE

        public static final int EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY_VALUE
         Some property or properties of an already-scheduled activity have changed by non-workflow code.
         The distinction of external vs. command-based modification is important so the SDK can
         maintain determinism when using the command-based approach.
         
        EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY = 45;
        See Also:
        Constant Field Values
      • EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_VALUE

        public static final int EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_VALUE
         Workflow properties modified by user workflow code
         
        EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED = 46;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static EventType[] 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 (EventType c : EventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EventType 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 EventType 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 EventType 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<EventType> 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 EventType 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