1syntax = "proto2";
2package a.b.c;
3
4message TopLevel {
5    optional uint32 field = 1 [default = 0];
6    optional NestedTypeA foo = 2;
7
8    message NestedTypeA {
9        optional NestedTypeB bar = 1;
10
11        message NestedTypeB {
12            optional uint32 foobar = 1;
13        }
14    }
15}
16
17