1/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto3";
18
19package android.profiles;
20
21// Next: 4
22message TaskProfiles {
23    repeated Attribute attributes = 1 [json_name = "Attributes"];
24    repeated Profile profiles = 2 [json_name = "Profiles"];
25    repeated AggregateProfiles aggregateprofiles = 3 [json_name = "AggregateProfiles"];
26}
27
28// Next: 4
29message Attribute {
30    string name = 1 [json_name = "Name"];
31    string controller = 2 [json_name = "Controller"];
32    string file = 3 [json_name = "File"];
33}
34
35// Next: 3
36message Profile {
37    string name = 1 [json_name = "Name"];
38    repeated Action actions = 2 [json_name = "Actions"];
39}
40
41// Next: 3
42message Action {
43    string name = 1 [json_name = "Name"];
44    map<string, string> params = 2 [json_name = "Params"];
45}
46
47// Next: 3
48message AggregateProfiles {
49    string name = 1 [json_name = "Name"];
50    repeated string profiles = 2 [json_name = "Profiles"];
51}
52