blob: ea454d402d6dfd71fdc78cf044055afe43a1fd02 [file] [log] [blame]
Tom Cherry1ab3dfc2019-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 optional int32 fd = 4;
26 }
27
28 message ChangedMessage {
29 optional string name = 1;
30 optional string value = 2;
31 }
32
33 oneof msg {
34 ControlMessage control_message = 1;
35 ChangedMessage changed_message = 2;
36 };
37}
38
39message InitMessage {
40 oneof msg {
41 bool load_persistent_properties = 1;
42 bool stop_sending_messages = 2;
43 };
44}