b.proto 217 B

12345678910111213141516171819
  1. syntax = "proto3";
  2. import "a.proto";
  3. package b;
  4. message B {
  5. oneof data {
  6. a.AUnknown unknown = 1;
  7. int32 x = 2;
  8. }
  9. }
  10. message B2 {
  11. oneof data {
  12. a.AUnknown unknown = 1;
  13. a.A unknown2 = 2;
  14. }
  15. }