xref: /aosp_15_r20/build/make/tools/aconfig/aconfig_storage_file/protos/aconfig_storage_metadata.proto (revision 9e94795a3d4ef5c1d47486f9a02bb378756cea8a)
1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License
14
15// This is the schema definition for aconfig files. Modifications need to be
16// either backwards compatible, or include updates to all aconfig files in the
17// Android tree.
18
19syntax = "proto2";
20
21package android.aconfig_storage_metadata;
22
23message storage_file_info {
24  optional uint32 version = 1;
25  optional string container = 2;
26  optional string package_map = 3;
27  optional string flag_map = 4;
28  optional string flag_val = 5;
29  optional string flag_info = 6;
30  optional int64 timestamp = 7;
31}
32
33message storage_files {
34  repeated storage_file_info files = 1;
35};
36