extensions.proto 436 B

12345678910111213141516171819202122
  1. package NExt;
  2. import "library/cpp/protobuf/util/ut/sample_for_simple_reflection.proto";
  3. message TTestExt {
  4. extend TSample {
  5. optional string ExtField = 100;
  6. }
  7. }
  8. extend TSample {
  9. optional uint64 ExtField = 150; // the same name, but another full name
  10. }
  11. extend TSample {
  12. repeated uint64 Ext2Field = 105;
  13. optional TInnerSample SubMsgExt = 111;
  14. }
  15. extend TInnerSample {
  16. optional uint64 Ext3Field = 100;
  17. }