package temporal.api.schedule.v1

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

message BackfillRequest

message.proto:287

Used in: SchedulePatch

message CalendarSpec

message.proto:43

CalendarSpec describes an event specification relative to the calendar, similar to a traditional cron specification, but with labeled fields. Each field can be one of: *: matches always x: matches when the field equals x x/y : matches when the field equals x+n*y where n is an integer x-z: matches when the field is between x and z inclusive w,x,y,...: matches when the field is one of the listed values Each x, y, z, ... is either a decimal integer, or a month or day of week name or abbreviation (in the appropriate fields). A timestamp matches if all fields match. Note that fields have different default values, for convenience. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. day_of_week can accept 0 or 7 as Sunday CalendarSpec gets compiled into StructuredCalendarSpec, which is what will be returned if you describe the schedule.

Used in: ScheduleSpec

message IntervalSpec

message.proto:118

IntervalSpec matches times that can be expressed as: epoch + n * interval + phase where n is an integer. phase defaults to zero if missing. interval is required. Both interval and phase must be non-negative and are truncated to the nearest second before any calculations. For example, an interval of 1 hour with phase of zero would match every hour, on the hour. The same interval but a phase of 19 minutes would match every xx:19:00. An interval of 28 days with phase zero would match 2022-02-17T00:00:00Z (among other times). The same interval with a phase of 3 days, 5 hours, and 23 minutes would match 2022-02-20T05:23:00Z instead.

Used in: ScheduleSpec

message Range

message.proto:68

Range represents a set of integer values, used to match fields of a calendar time in StructuredCalendarSpec. If end < start, then end is interpreted as equal to start. This means you can use a Range with start set to a value, and end and step unset (defaulting to 0) to represent a single value.

Used in: StructuredCalendarSpec

message Schedule

message.proto:357

Used in: workflowservice.v1.CreateScheduleRequest, workflowservice.v1.DescribeScheduleResponse, workflowservice.v1.UpdateScheduleRequest

message ScheduleAction

message.proto:232

Used in: Schedule

message ScheduleActionResult

message.proto:243

Used in: ScheduleInfo, ScheduleListInfo

message ScheduleInfo

message.proto:315

Used in: workflowservice.v1.DescribeScheduleResponse

message ScheduleListEntry

message.proto:389

ScheduleListEntry is returned by ListSchedules.

Used in: workflowservice.v1.ListSchedulesResponse

message ScheduleListInfo

message.proto:366

ScheduleListInfo is an abbreviated set of values from Schedule and ScheduleInfo that's returned in ListSchedules.

Used in: ScheduleListEntry

message SchedulePatch

message.proto:300

Used in: workflowservice.v1.CreateScheduleRequest, workflowservice.v1.PatchScheduleRequest

message SchedulePolicies

message.proto:208

Used in: Schedule

message ScheduleSpec

message.proto:141

ScheduleSpec is a complete description of a set of absolute timestamps (possibly infinite) that an action should occur at. The meaning of a ScheduleSpec depends only on its contents and never changes, except that the definition of a time zone can change over time (most commonly, when daylight saving time policy changes for an area). To create a totally self-contained ScheduleSpec, use UTC or include timezone_data. For input, you can provide zero or more of: structured_calendar, calendar, cron_string, interval, and exclude_structured_calendar, and all of them will be used (the schedule will take action at the union of all of their times, minus the ones that match exclude_structured_calendar). On input, calendar and cron_string fields will be compiled into structured_calendar (and maybe interval and timezone_name), so if you Describe a schedule, you'll see only structured_calendar, interval, etc. If a spec has no matching times after the current time, then the schedule will be subject to automatic deletion (after several days).

Used in: Schedule, ScheduleListInfo

message ScheduleState

message.proto:258

Used in: Schedule

message StructuredCalendarSpec

message.proto:86

StructuredCalendarSpec describes an event specification relative to the calendar, in a form that's easy to work with programmatically. Each field can be one or more ranges. A timestamp matches if at least one range of each field matches the corresponding fields of the timestamp, except for year: if year is missing, that means all years match. For all fields besides year, at least one Range must be present to match anything. Relative expressions such as "last day of the month" or "third Monday" are not currently representable; callers must enumerate the concrete days they require.

Used in: ScheduleSpec

message TriggerImmediatelyRequest

message.proto:278

Used in: SchedulePatch