syntax = "proto3"; package jobs.v1beta; option go_package = "./;jobsv1beta"; // single job request message PushRequest { Job job = 1; } // batch jobs request message PushBatchRequest { repeated Job jobs = 1; } // request to pause/resume message MaintenanceRequest { repeated string pipelines = 1; } // some endpoints receives nothing // all endpoints returns nothing message Empty {} message List { repeated string pipelines = 1; } message Job { string job = 1; string id = 2; string payload = 3; map headers = 5; Options options = 4; } message HeaderValue { repeated string value = 1; } message Options { int64 priority = 1; string pipeline = 2; int64 delay = 3; int64 attempts = 4; int64 retry_delay = 5; int64 timeout = 6; }