• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto2";
2
3package winscope.test;
4
5// Message used for testing the fake proto machinery
6message RootMessage {
7  optional Entry entry = 1;
8}
9
10enum Enum0 {
11    ENUM0_VALUE_ZERO = 0;
12    ENUM0_VALUE_ONE = 1;
13}
14
15message Entry {
16  enum Enum1 {
17    ENUM1_VALUE_ZERO = 0;
18    ENUM1_VALUE_ONE = 1;
19  }
20  optional Enum0 enum0 = 1;
21  optional Enum1 enum1 = 2;
22  repeated int32 array = 3;
23  optional int32 number_32bit = 4;
24  optional int64 number_64bit = 5;
25
26  optional int64 _case_64bit = 6;
27  optional int64 case_64bit = 7;
28  optional int64 case_64bit_lsb = 8;
29  optional int64 case_64_bit = 9;
30  optional int64 case_64_bit_lsb = 10;
31
32  optional bool bool_value = 11;
33}
34