pebble/third_party/nanopb/tests/regression/issue_692/oneof.proto

20 lines
355 B
Protocol Buffer
Raw Permalink Normal View History

syntax = "proto3";
import "other.proto";
message FirstOneof {}
message Bar {
oneof content {
FirstOneof first = 1;
SecondOneof second = 2; // unknown size if no options are considered
}
}
message Foo {
AnotherList foo = 1; // again, unknown size
Bar bar = 2; // no duplicate size_union shall be generated anymore
}