Jack He | e478783 | 2017-01-24 22:31:18 -0800 | [diff] [blame] | 1 | syntax = "proto2"; |
2 | |||||
3 | package bt_metrics_utils_test; | ||||
4 | |||||
5 | message TestProtoEntry { | ||||
6 | message NestedType { | ||||
7 | enum EnumType { | ||||
8 | AAA = 0; | ||||
9 | BBB = 1; | ||||
10 | } | ||||
11 | optional string name = 1; | ||||
12 | optional EnumType type = 2; | ||||
13 | } | ||||
14 | |||||
15 | optional string name = 1; | ||||
16 | optional int32 id = 2; | ||||
17 | repeated NestedType nested = 3; | ||||
18 | } | ||||
19 | |||||
20 | message TestProto { | ||||
21 | repeated TestProtoEntry entries = 1; | ||||
22 | } |