multifile2.proto 466 B

12345678910111213141516171819202122
  1. // Test if including generated header file for this file + implicit include of
  2. // multifile2.pb.h still compiles. Used with test_compiles.c.
  3. syntax = "proto2";
  4. import "multifile1.proto";
  5. message Callback2Message {
  6. required TestMessage tstmsg = 1;
  7. required SubMessage submsg = 2;
  8. }
  9. message OneofMessage {
  10. oneof msgs {
  11. StaticMessage tstmsg = 1;
  12. }
  13. }
  14. message Enums {
  15. required SignedEnum senum = 1;
  16. required UnsignedEnum uenum = 2;
  17. }