Current section

Files

Jump to
temporalio lib temporal api schedule v1 message.pb.ex
Raw

lib/temporal/api/schedule/v1/message.pb.ex

defmodule Temporal.Api.Schedule.V1.CalendarSpec do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.CalendarSpec",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :second, 1, type: :string
field :minute, 2, type: :string
field :hour, 3, type: :string
field :day_of_month, 4, type: :string, json_name: "dayOfMonth"
field :month, 5, type: :string
field :year, 6, type: :string
field :day_of_week, 7, type: :string, json_name: "dayOfWeek"
field :comment, 8, type: :string
end
defmodule Temporal.Api.Schedule.V1.Range do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.Range",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :start, 1, type: :int32
field :end, 2, type: :int32
field :step, 3, type: :int32
end
defmodule Temporal.Api.Schedule.V1.StructuredCalendarSpec do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.StructuredCalendarSpec",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :second, 1, repeated: true, type: Temporal.Api.Schedule.V1.Range
field :minute, 2, repeated: true, type: Temporal.Api.Schedule.V1.Range
field :hour, 3, repeated: true, type: Temporal.Api.Schedule.V1.Range
field :day_of_month, 4,
repeated: true,
type: Temporal.Api.Schedule.V1.Range,
json_name: "dayOfMonth"
field :month, 5, repeated: true, type: Temporal.Api.Schedule.V1.Range
field :year, 6, repeated: true, type: Temporal.Api.Schedule.V1.Range
field :day_of_week, 7,
repeated: true,
type: Temporal.Api.Schedule.V1.Range,
json_name: "dayOfWeek"
field :comment, 8, type: :string
end
defmodule Temporal.Api.Schedule.V1.IntervalSpec do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.IntervalSpec",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :interval, 1, type: Google.Protobuf.Duration
field :phase, 2, type: Google.Protobuf.Duration
end
defmodule Temporal.Api.Schedule.V1.ScheduleSpec do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.ScheduleSpec",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :structured_calendar, 7,
repeated: true,
type: Temporal.Api.Schedule.V1.StructuredCalendarSpec,
json_name: "structuredCalendar"
field :cron_string, 8, repeated: true, type: :string, json_name: "cronString"
field :calendar, 1, repeated: true, type: Temporal.Api.Schedule.V1.CalendarSpec
field :interval, 2, repeated: true, type: Temporal.Api.Schedule.V1.IntervalSpec
field :exclude_calendar, 3,
repeated: true,
type: Temporal.Api.Schedule.V1.CalendarSpec,
json_name: "excludeCalendar",
deprecated: true
field :exclude_structured_calendar, 9,
repeated: true,
type: Temporal.Api.Schedule.V1.StructuredCalendarSpec,
json_name: "excludeStructuredCalendar"
field :start_time, 4, type: Google.Protobuf.Timestamp, json_name: "startTime"
field :end_time, 5, type: Google.Protobuf.Timestamp, json_name: "endTime"
field :jitter, 6, type: Google.Protobuf.Duration
field :timezone_name, 10, type: :string, json_name: "timezoneName"
field :timezone_data, 11, type: :bytes, json_name: "timezoneData"
end
defmodule Temporal.Api.Schedule.V1.SchedulePolicies do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.SchedulePolicies",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :overlap_policy, 1,
type: Temporal.Api.Enums.V1.ScheduleOverlapPolicy,
json_name: "overlapPolicy",
enum: true
field :catchup_window, 2, type: Google.Protobuf.Duration, json_name: "catchupWindow"
field :pause_on_failure, 3, type: :bool, json_name: "pauseOnFailure"
field :keep_original_workflow_id, 4, type: :bool, json_name: "keepOriginalWorkflowId"
end
defmodule Temporal.Api.Schedule.V1.ScheduleAction do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.ScheduleAction",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
oneof :action, 0
field :start_workflow, 1,
type: Temporal.Api.Workflow.V1.NewWorkflowExecutionInfo,
json_name: "startWorkflow",
oneof: 0
end
defmodule Temporal.Api.Schedule.V1.ScheduleActionResult do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.ScheduleActionResult",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :schedule_time, 1, type: Google.Protobuf.Timestamp, json_name: "scheduleTime"
field :actual_time, 2, type: Google.Protobuf.Timestamp, json_name: "actualTime"
field :start_workflow_result, 11,
type: Temporal.Api.Common.V1.WorkflowExecution,
json_name: "startWorkflowResult"
field :start_workflow_status, 12,
type: Temporal.Api.Enums.V1.WorkflowExecutionStatus,
json_name: "startWorkflowStatus",
enum: true
end
defmodule Temporal.Api.Schedule.V1.ScheduleState do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.ScheduleState",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :notes, 1, type: :string
field :paused, 2, type: :bool
field :limited_actions, 3, type: :bool, json_name: "limitedActions"
field :remaining_actions, 4, type: :int64, json_name: "remainingActions"
end
defmodule Temporal.Api.Schedule.V1.TriggerImmediatelyRequest do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.TriggerImmediatelyRequest",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :overlap_policy, 1,
type: Temporal.Api.Enums.V1.ScheduleOverlapPolicy,
json_name: "overlapPolicy",
enum: true
field :scheduled_time, 2, type: Google.Protobuf.Timestamp, json_name: "scheduledTime"
end
defmodule Temporal.Api.Schedule.V1.BackfillRequest do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.BackfillRequest",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :start_time, 1, type: Google.Protobuf.Timestamp, json_name: "startTime"
field :end_time, 2, type: Google.Protobuf.Timestamp, json_name: "endTime"
field :overlap_policy, 3,
type: Temporal.Api.Enums.V1.ScheduleOverlapPolicy,
json_name: "overlapPolicy",
enum: true
end
defmodule Temporal.Api.Schedule.V1.SchedulePatch do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.SchedulePatch",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :trigger_immediately, 1,
type: Temporal.Api.Schedule.V1.TriggerImmediatelyRequest,
json_name: "triggerImmediately"
field :backfill_request, 2,
repeated: true,
type: Temporal.Api.Schedule.V1.BackfillRequest,
json_name: "backfillRequest"
field :pause, 3, type: :string
field :unpause, 4, type: :string
end
defmodule Temporal.Api.Schedule.V1.ScheduleInfo do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.ScheduleInfo",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :action_count, 1, type: :int64, json_name: "actionCount"
field :missed_catchup_window, 2, type: :int64, json_name: "missedCatchupWindow"
field :overlap_skipped, 3, type: :int64, json_name: "overlapSkipped"
field :buffer_dropped, 10, type: :int64, json_name: "bufferDropped"
field :buffer_size, 11, type: :int64, json_name: "bufferSize"
field :running_workflows, 9,
repeated: true,
type: Temporal.Api.Common.V1.WorkflowExecution,
json_name: "runningWorkflows"
field :recent_actions, 4,
repeated: true,
type: Temporal.Api.Schedule.V1.ScheduleActionResult,
json_name: "recentActions"
field :future_action_times, 5,
repeated: true,
type: Google.Protobuf.Timestamp,
json_name: "futureActionTimes"
field :create_time, 6, type: Google.Protobuf.Timestamp, json_name: "createTime"
field :update_time, 7, type: Google.Protobuf.Timestamp, json_name: "updateTime"
field :invalid_schedule_error, 8,
type: :string,
json_name: "invalidScheduleError",
deprecated: true
end
defmodule Temporal.Api.Schedule.V1.Schedule do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.Schedule",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :spec, 1, type: Temporal.Api.Schedule.V1.ScheduleSpec
field :action, 2, type: Temporal.Api.Schedule.V1.ScheduleAction
field :policies, 3, type: Temporal.Api.Schedule.V1.SchedulePolicies
field :state, 4, type: Temporal.Api.Schedule.V1.ScheduleState
end
defmodule Temporal.Api.Schedule.V1.ScheduleListInfo do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.ScheduleListInfo",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :spec, 1, type: Temporal.Api.Schedule.V1.ScheduleSpec
field :workflow_type, 2, type: Temporal.Api.Common.V1.WorkflowType, json_name: "workflowType"
field :notes, 3, type: :string
field :paused, 4, type: :bool
field :recent_actions, 5,
repeated: true,
type: Temporal.Api.Schedule.V1.ScheduleActionResult,
json_name: "recentActions"
field :future_action_times, 6,
repeated: true,
type: Google.Protobuf.Timestamp,
json_name: "futureActionTimes"
end
defmodule Temporal.Api.Schedule.V1.ScheduleListEntry do
@moduledoc false
use Protobuf,
full_name: "temporal.api.schedule.v1.ScheduleListEntry",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :schedule_id, 1, type: :string, json_name: "scheduleId"
field :memo, 2, type: Temporal.Api.Common.V1.Memo
field :search_attributes, 3,
type: Temporal.Api.Common.V1.SearchAttributes,
json_name: "searchAttributes"
field :info, 4, type: Temporal.Api.Schedule.V1.ScheduleListInfo
end