package temporal.api.common.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ActivityType

message.proto:79

Represents the identifier used by a activity author to define the activity. Typically, the name of a function. This is sometimes referred to as the activity's "name"

Used in: activity.v1.ActivityExecutionInfo, activity.v1.ActivityExecutionListInfo, command.v1.ScheduleActivityTaskCommandAttributes, failure.v1.ActivityFailureInfo, history.v1.ActivityTaskScheduledEventAttributes, workflow.v1.PendingActivityInfo, workflowservice.v1.PollActivityTaskQueueResponse, workflowservice.v1.StartActivityExecutionRequest

message Callback

message.proto:179

Callback to attach to various events in the system, e.g. workflow run completion.

Used in: callback.v1.CallbackInfo, history.v1.WorkflowExecutionOptionsUpdatedEventAttributes, history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate, history.v1.WorkflowExecutionStartedEventAttributes, update.v1.Request, workflow.v1.CallbackInfo, workflowservice.v1.StartActivityExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest

message Callback.Internal

message.proto:191

Callbacks to be delivered internally within the system. This variant is not settable in the API and will be rejected by the service with an INVALID_ARGUMENT error. The only reason that this is exposed is because callbacks are replicated across clusters via the WorkflowExecutionStarted event, which is defined in the public API.

Used in: Callback

message Callback.Nexus

message.proto:180

Used in: Callback

message DataBlob

message.proto:20

Used in: workflowservice.v1.GetWorkflowExecutionHistoryResponse

Contains metadata that can be attached to a variety of requests, like starting a workflow, and can be propagated between, for example, workflows and activities.

Used in: activity.v1.ActivityExecutionInfo, batch.v1.BatchOperationSignal, command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, command.v1.RecordMarkerCommandAttributes, command.v1.ScheduleActivityTaskCommandAttributes, command.v1.SignalExternalWorkflowExecutionCommandAttributes, command.v1.StartChildWorkflowExecutionCommandAttributes, history.v1.ActivityTaskScheduledEventAttributes, history.v1.ChildWorkflowExecutionStartedEventAttributes, history.v1.MarkerRecordedEventAttributes, history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionContinuedAsNewEventAttributes, history.v1.WorkflowExecutionSignaledEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, query.v1.WorkflowQuery, update.v1.Input, workflow.v1.NewWorkflowExecutionInfo, workflow.v1.PostResetOperation.SignalWorkflow, workflowservice.v1.PollActivityTaskQueueResponse, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.SignalWorkflowExecutionRequest, workflowservice.v1.StartActivityExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest

Link can be associated with history events. It might contain information about an external entity related to the history event. For example, workflow A makes a Nexus call that starts workflow B: in this case, a history event in workflow A could contain a Link to the workflow started event in workflow B, and vice-versa.

Used in: activity.v1.ActivityExecutionInfo, Callback, history.v1.HistoryEvent, nexus.v1.NexusOperationExecutionInfo, update.v1.Request, workflow.v1.PostResetOperation.SignalWorkflow, workflowservice.v1.RequestCancelWorkflowExecutionRequest, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.SignalWithStartWorkflowExecutionResponse, workflowservice.v1.SignalWorkflowExecutionRequest, workflowservice.v1.SignalWorkflowExecutionResponse, workflowservice.v1.StartActivityExecutionRequest, workflowservice.v1.StartActivityExecutionResponse, workflowservice.v1.StartWorkflowExecutionRequest, workflowservice.v1.StartWorkflowExecutionResponse, workflowservice.v1.TerminateWorkflowExecutionRequest, workflowservice.v1.UpdateWorkflowExecutionResponse

message Link.Activity

message.proto:245

A link to an activity.

Used in: Link

message Link.BatchJob

message.proto:240

A link to a built-in batch job. Batch jobs can be used to perform operations on a set of workflows (e.g. terminate, signal, cancel, etc). This link can be put on workflow history events generated by actions taken by a batch job.

Used in: Link

message Link.NexusOperation

message.proto:252

A link to a standalone Nexus operation.

Used in: Link

message Link.Workflow

message.proto:261

A link to a workflow execution. This is a more general version of WorkflowEvent that doesn't specify a particular event within the workflow, useful when you want to link to a workflow but there is no particular event to link to, such as a Query or a Rejected Update.

Used in: Link

message Link.WorkflowEvent

message.proto:212

Used in: Link

message Link.WorkflowEvent.EventReference

message.proto:214

EventReference is a direct reference to a history event through the event ID.

Used in: WorkflowEvent

message Link.WorkflowEvent.RequestIdReference

message.proto:220

RequestIdReference is a indirect reference to a history event through the request ID.

Used in: WorkflowEvent

message Memo

message.proto:53

A user-defined set of *unindexed* fields that are exposed when listing/searching workflows

Used in: command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, command.v1.ModifyWorkflowPropertiesCommandAttributes, command.v1.StartChildWorkflowExecutionCommandAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionContinuedAsNewEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, history.v1.WorkflowPropertiesModifiedEventAttributes, history.v1.WorkflowPropertiesModifiedExternallyEventAttributes, schedule.v1.ScheduleListEntry, workflow.v1.NewWorkflowExecutionInfo, workflow.v1.WorkflowExecutionInfo, workflowservice.v1.CreateScheduleRequest, workflowservice.v1.DescribeScheduleResponse, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest, workflowservice.v1.UpdateScheduleRequest

message MeteringMetadata

message.proto:103

Metadata relevant for metering purposes

Used in: history.v1.WorkflowTaskCompletedEventAttributes, workflowservice.v1.RespondWorkflowTaskCompletedRequest

message OnConflictOptions

message.proto:389

When starting an execution with a conflict policy that uses an existing execution and there is already an existing running execution, OnConflictOptions defines actions to be taken on the existing running execution.

Used in: workflowservice.v1.StartActivityExecutionRequest

message Payload

message.proto:33

Represents some binary (byte array) data (ex: activity input parameters or workflow result) with metadata which describes this binary data (format, encoding, encryption, etc). Serialization of the data may be user-defined.

Used in: command.v1.ScheduleNexusOperationCommandAttributes, Header, Memo, Payloads, SearchAttributes, compute.v1.ComputeProvider, compute.v1.ComputeScaler, deployment.v1.DeploymentInfo, deployment.v1.UpdateDeploymentMetadata, deployment.v1.VersionMetadata, failure.v1.Failure, history.v1.NexusOperationCompletedEventAttributes, history.v1.NexusOperationScheduledEventAttributes, nexus.v1.EndpointSpec, nexus.v1.StartOperationRequest, nexus.v1.StartOperationResponse.Sync, sdk.v1.EventGroupMarker.Label, sdk.v1.UserMetadata, workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup, workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup, workflowservice.v1.CountSchedulesResponse.AggregationGroup, workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup, workflowservice.v1.DescribeNexusOperationExecutionResponse, workflowservice.v1.PollNexusOperationExecutionResponse, workflowservice.v1.StartNexusOperationExecutionRequest, workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest

message Payload.ExternalPayloadDetails

message.proto:40

Describes an externally stored object referenced by this payload.

Used in: Payload

message Payloads

message.proto:26

See `Payload`

Used in: activity.v1.ActivityExecutionInfo, activity.v1.ActivityExecutionOutcome, batch.v1.BatchOperationSignal, batch.v1.BatchOperationTermination, command.v1.CancelWorkflowExecutionCommandAttributes, command.v1.CompleteWorkflowExecutionCommandAttributes, command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, command.v1.RecordMarkerCommandAttributes, command.v1.ScheduleActivityTaskCommandAttributes, command.v1.SignalExternalWorkflowExecutionCommandAttributes, command.v1.StartChildWorkflowExecutionCommandAttributes, failure.v1.ApplicationFailureInfo, failure.v1.CanceledFailureInfo, failure.v1.ResetWorkflowFailureInfo, failure.v1.TimeoutFailureInfo, history.v1.ActivityTaskCanceledEventAttributes, history.v1.ActivityTaskCompletedEventAttributes, history.v1.ActivityTaskScheduledEventAttributes, history.v1.ChildWorkflowExecutionCanceledEventAttributes, history.v1.ChildWorkflowExecutionCompletedEventAttributes, history.v1.MarkerRecordedEventAttributes, history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionCanceledEventAttributes, history.v1.WorkflowExecutionCompletedEventAttributes, history.v1.WorkflowExecutionContinuedAsNewEventAttributes, history.v1.WorkflowExecutionSignaledEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, history.v1.WorkflowExecutionTerminatedEventAttributes, query.v1.WorkflowQuery, query.v1.WorkflowQueryResult, update.v1.Input, update.v1.Outcome, workflow.v1.NewWorkflowExecutionInfo, workflow.v1.PendingActivityInfo, workflow.v1.PostResetOperation.SignalWorkflow, workflowservice.v1.DescribeActivityExecutionResponse, workflowservice.v1.PollActivityTaskQueueResponse, workflowservice.v1.QueryWorkflowResponse, workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest, workflowservice.v1.RecordActivityTaskHeartbeatRequest, workflowservice.v1.RespondActivityTaskCanceledByIdRequest, workflowservice.v1.RespondActivityTaskCanceledRequest, workflowservice.v1.RespondActivityTaskCompletedByIdRequest, workflowservice.v1.RespondActivityTaskCompletedRequest, workflowservice.v1.RespondActivityTaskFailedByIdRequest, workflowservice.v1.RespondActivityTaskFailedRequest, workflowservice.v1.RespondQueryTaskCompletedRequest, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.SignalWorkflowExecutionRequest, workflowservice.v1.StartActivityExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest, workflowservice.v1.TerminateWorkflowExecutionRequest

message Principal

message.proto:279

Principal is an authenticated caller identity computed by the server from trusted authentication context.

Used in: history.v1.HistoryEvent

message Priority

message.proto:318

Priority contains metadata that controls relative ordering of task processing when tasks are backed up in a queue. Initially, Priority will be used in matching (workflow and activity) task queues. Later it may be used in history task queues and in rate limiting decisions. Priority is attached to workflows and activities. By default, activities inherit Priority from the workflow that created them, but may override fields when an activity is started or modified. Despite being named "Priority", this message also contains fields that control "fairness" mechanisms. For all fields, the field not present or equal to zero/empty string means to inherit the value from the calling workflow, or if there is no calling workflow, then use the default value. For all fields other than fairness_key, the zero value isn't meaningful so there's no confusion between inherit/default and a meaningful value. For fairness_key, the empty string will be interpreted as "inherit". This means that if a workflow has a non-empty fairness key, you can't override the fairness key of its activity to the empty string. The overall semantics of Priority are: 1. First, consider "priority": higher priority (lower number) goes first. 2. Then, consider fairness: try to dispatch tasks for different fairness keys in proportion to their weight. Applications may use any subset of mechanisms that are useful to them and leave the other fields to use default values. Not all queues in the system may support the "full" semantics of all priority fields. (Currently only support in matching task queues is planned.)

Used in: activity.v1.ActivityExecutionInfo, activity.v1.ActivityOptions, command.v1.ScheduleActivityTaskCommandAttributes, command.v1.StartChildWorkflowExecutionCommandAttributes, history.v1.ActivityTaskScheduledEventAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionOptionsUpdatedEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, workflow.v1.NewWorkflowExecutionInfo, workflow.v1.PendingActivityInfo, workflow.v1.WorkflowExecutionInfo, workflow.v1.WorkflowExecutionOptions, workflowservice.v1.PollActivityTaskQueueResponse, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.StartActivityExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest

message ResetOptions

message.proto:147

Describes where and how to reset a workflow, used for batch reset currently and may be used for single-workflow reset later.

Used in: batch.v1.BatchOperationReset

message RetryPolicy

message.proto:84

How retries ought to be handled, usable by both workflows and activities

Used in: activity.v1.ActivityExecutionInfo, activity.v1.ActivityOptions, command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, command.v1.ScheduleActivityTaskCommandAttributes, command.v1.StartChildWorkflowExecutionCommandAttributes, history.v1.ActivityPropertiesModifiedExternallyEventAttributes, history.v1.ActivityTaskScheduledEventAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, workflow.v1.NewWorkflowExecutionInfo, workflowservice.v1.PollActivityTaskQueueResponse, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.StartActivityExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest

message SearchAttributes

message.proto:48

A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows. The payload is not serialized in a user-defined way.

Used in: activity.v1.ActivityExecutionInfo, activity.v1.ActivityExecutionListInfo, command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, command.v1.StartChildWorkflowExecutionCommandAttributes, command.v1.UpsertWorkflowSearchAttributesCommandAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.UpsertWorkflowSearchAttributesEventAttributes, history.v1.WorkflowExecutionContinuedAsNewEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, nexus.v1.NexusOperationExecutionInfo, nexus.v1.NexusOperationExecutionListInfo, schedule.v1.ScheduleListEntry, workflow.v1.NewWorkflowExecutionInfo, workflow.v1.WorkflowExecutionInfo, workflowservice.v1.CreateScheduleRequest, workflowservice.v1.DescribeScheduleResponse, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.StartActivityExecutionRequest, workflowservice.v1.StartNexusOperationExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest, workflowservice.v1.UpdateScheduleRequest

message TimeSkippingConfig

message.proto:411

The configuration for time skipping of a workflow execution (a chain of runs including retries, cron, continue-as-new). When time skipping is enabled, virtual time advances automatically whenever there is no in-flight work. In-flight work includes activities, child workflows, Nexus operations, signal/cancel external workflow operations, and possibly other features added in the future. User timers are not classified as in-flight work and will be skipped over; the virtual clock may also skip to the time point of the registered fast forward when there is no in-flight work. When time is skipped, a WorkflowExecutionTimeSkippingTransitionedEvent will be added to the workflow history to capture the state changes. For child workflows, by default, if the parent execution is skipping time, the child execution will also skip time, but a parent's fast_forward won't affect its child's execution. A flag is provided to disable propagation of the "enabled" flag to child workflows; regardless of that flag, a child workflow inherits the virtual time from the parent execution as its start time.

Used in: history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionOptionsUpdatedEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, workflow.v1.WorkflowExecutionOptions, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest

message TimeSkippingStatePropagation

message.proto:436

The time-skipping state that needs to be propagated from a parent workflow to a child workflow, or through a chain of runs.

Used in: history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes

message WorkerSelector

message.proto:372

This is used to send commands to a specific worker or a group of workers. Right now, it is used to send commands to a specific worker instance. Will be extended to be able to send command to multiple workers.

Used in: workflowservice.v1.FetchWorkerConfigRequest, workflowservice.v1.UpdateWorkerConfigRequest

message WorkerVersionCapabilities

message.proto:131

Identifies the version that a worker is compatible with when polling or identifying itself, and whether or not this worker is opting into the build-id based versioning feature. This is used by matching to determine which workers ought to receive what tasks. Deprecated. Use WorkerDeploymentOptions instead.

Used in: taskqueue.v1.PollerInfo, workflowservice.v1.PollActivityTaskQueueRequest, workflowservice.v1.PollNexusTaskQueueRequest, workflowservice.v1.PollWorkflowTaskQueueRequest

message WorkerVersionStamp

message.proto:115

Deprecated. This message is replaced with `Deployment` and `VersioningBehavior`. Identifies the version(s) of a worker that processed a task

Used in: history.v1.ActivityTaskCanceledEventAttributes, history.v1.ActivityTaskCompletedEventAttributes, history.v1.ActivityTaskFailedEventAttributes, history.v1.ActivityTaskStartedEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, history.v1.WorkflowTaskCompletedEventAttributes, history.v1.WorkflowTaskFailedEventAttributes, history.v1.WorkflowTaskStartedEventAttributes, workflow.v1.PendingActivityInfo, workflow.v1.WorkflowExecutionInfo, workflowservice.v1.RespondActivityTaskCanceledRequest, workflowservice.v1.RespondActivityTaskCompletedRequest, workflowservice.v1.RespondActivityTaskFailedRequest, workflowservice.v1.RespondWorkflowTaskCompletedRequest, workflowservice.v1.RespondWorkflowTaskFailedRequest

message WorkflowExecution

message.proto:66

Identifies a specific workflow within a namespace. Practically speaking, because run_id is a uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty run id as a way of saying "target the latest run of the workflow".

Used in: command.v1.SignalExternalWorkflowExecutionCommandAttributes, errordetails.v1.SystemWorkflowFailure, failure.v1.ChildWorkflowExecutionFailureInfo, history.v1.ChildWorkflowExecutionCanceledEventAttributes, history.v1.ChildWorkflowExecutionCompletedEventAttributes, history.v1.ChildWorkflowExecutionFailedEventAttributes, history.v1.ChildWorkflowExecutionStartedEventAttributes, history.v1.ChildWorkflowExecutionTerminatedEventAttributes, history.v1.ChildWorkflowExecutionTimedOutEventAttributes, history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes, history.v1.ExternalWorkflowExecutionSignaledEventAttributes, history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes, history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, history.v1.SignalExternalWorkflowExecutionFailedEventAttributes, history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionCancelRequestedEventAttributes, history.v1.WorkflowExecutionSignaledEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, schedule.v1.ScheduleActionResult, schedule.v1.ScheduleInfo, update.v1.UpdateRef, workflow.v1.WorkflowExecutionInfo, workflowservice.v1.DeleteWorkflowExecutionRequest, workflowservice.v1.DescribeWorkflowExecutionRequest, workflowservice.v1.GetWorkflowExecutionHistoryRequest, workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest, workflowservice.v1.PauseActivityRequest, workflowservice.v1.PollActivityTaskQueueResponse, workflowservice.v1.PollWorkflowTaskQueueResponse, workflowservice.v1.QueryWorkflowRequest, workflowservice.v1.RequestCancelWorkflowExecutionRequest, workflowservice.v1.ResetActivityRequest, workflowservice.v1.ResetStickyTaskQueueRequest, workflowservice.v1.ResetWorkflowExecutionRequest, workflowservice.v1.SignalWorkflowExecutionRequest, workflowservice.v1.StartBatchOperationRequest, workflowservice.v1.TerminateWorkflowExecutionRequest, workflowservice.v1.TriggerWorkflowRuleRequest, workflowservice.v1.UnpauseActivityRequest, workflowservice.v1.UpdateActivityOptionsRequest, workflowservice.v1.UpdateWorkflowExecutionOptionsRequest, workflowservice.v1.UpdateWorkflowExecutionRequest

message WorkflowType

message.proto:73

Represents the identifier used by a workflow author to define the workflow. Typically, the name of a function. This is sometimes referred to as the workflow's "name"

Used in: command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, command.v1.StartChildWorkflowExecutionCommandAttributes, failure.v1.ChildWorkflowExecutionFailureInfo, history.v1.ChildWorkflowExecutionCanceledEventAttributes, history.v1.ChildWorkflowExecutionCompletedEventAttributes, history.v1.ChildWorkflowExecutionFailedEventAttributes, history.v1.ChildWorkflowExecutionStartedEventAttributes, history.v1.ChildWorkflowExecutionTerminatedEventAttributes, history.v1.ChildWorkflowExecutionTimedOutEventAttributes, history.v1.StartChildWorkflowExecutionFailedEventAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, history.v1.WorkflowExecutionContinuedAsNewEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes, schedule.v1.ScheduleListInfo, workflow.v1.NewWorkflowExecutionInfo, workflow.v1.WorkflowExecutionInfo, workflowservice.v1.PollActivityTaskQueueResponse, workflowservice.v1.PollWorkflowTaskQueueResponse, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest