blob: 894fa137c97aa9e4597a3988872e950961ae37ab [file] [log] [blame]
Tom Cherry26f5e7d2019-04-22 17:46:37 -07001/*
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 = "proto2";
18option optimize_for = LITE_RUNTIME;
19
20message PropertyMessage {
21 message ControlMessage {
22 optional string msg = 1;
23 optional string name = 2;
24 optional int32 pid = 3;
25 }
26
27 message ChangedMessage {
28 optional string name = 1;
29 optional string value = 2;
30 }
31
32 oneof msg {
33 ControlMessage control_message = 1;
34 ChangedMessage changed_message = 2;
35 };
36}
37
38message InitMessage {
39 message ControlResponse { optional bool result = 1; }
40
41 oneof msg {
42 ControlResponse control_response = 1;
43 bool load_persistent_properties = 2;
44 };
45}