parent
e7133adeb3
commit
ac96d8254b
@ -2,5 +2,6 @@
|
|||||||
"nested": {
|
"nested": {
|
||||||
"count": 150
|
"count": 150
|
||||||
},
|
},
|
||||||
"sibling": {}
|
"sibling": {},
|
||||||
|
"msg": "THIS"
|
||||||
}
|
}
|
||||||
|
@ -6,13 +6,19 @@ package nested;
|
|||||||
message Test {
|
message Test {
|
||||||
// This is the nested type.
|
// This is the nested type.
|
||||||
message Nested {
|
message Nested {
|
||||||
// Stores a simple counter.
|
// Stores a simple counter.
|
||||||
int32 count = 1;
|
int32 count = 1;
|
||||||
|
}
|
||||||
|
// This is the nested enum.
|
||||||
|
enum Msg {
|
||||||
|
NONE = 0;
|
||||||
|
THIS = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
Nested nested = 1;
|
Nested nested = 1;
|
||||||
Sibling sibling = 2;
|
Sibling sibling = 2;
|
||||||
Sibling sibling2 = 3;
|
Sibling sibling2 = 3;
|
||||||
|
Msg msg = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Sibling {
|
message Sibling {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user