1// Copyright 2024 The ChromiumOS Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto3"; 6 7package chromiumos.test.scheduling; 8 9import "chromiumos/test/scheduling/os_type.proto"; 10import "chromiumos/test/scheduling/swarming_dimensions.proto"; 11 12option go_package = "./proto"; 13 14 15message TaskRequestEvent { 16 // Timestamp in microseconds. 17 int64 event_time = 1; 18 // Timestamp in microseconds. 19 int64 deadline = 2; 20 bool periodic = 3; 21 int64 priority = 4; 22 SwarmingDimensions requested_dimensions = 5; 23 int64 real_execution_minutes = 6; 24 int64 max_execution_minutes = 7; 25 string schedule_build_request_json = 8; 26 string qs_account = 9; 27 string pool = 10; 28 int64 bbid = 11; 29 bool asap = 12; 30 int64 task_state_id = 13; 31 string device_name = 14; 32 string user = 15; 33 repeated string experiments = 16; 34 OsType os_type = 17; 35} 36 37message TaskRequestEvents { 38 repeated TaskRequestEvent events = 1; 39} 40 41message KeyedTaskRequestEvents { 42 map<int64, TaskRequestEvent> events = 1; 43} 44