repeatedmessages.proto 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. syntax = "proto3";
  2. import "basicmessages.proto";
  3. package qtprotobufnamespace.tests;
  4. message RepeatedStringMessage {
  5. repeated string testRepeatedString = 1;
  6. }
  7. message RepeatedDoubleMessage {
  8. repeated double testRepeatedDouble = 1;
  9. }
  10. message RepeatedBytesMessage {
  11. repeated bytes testRepeatedBytes = 1;
  12. }
  13. message RepeatedFloatMessage {
  14. repeated float testRepeatedFloat = 1;
  15. }
  16. message RepeatedComplexMessage {
  17. repeated ComplexMessage testRepeatedComplex = 1;
  18. }
  19. message RepeatedSIntMessage {
  20. repeated sint32 testRepeatedInt = 1;
  21. }
  22. message RepeatedIntMessage {
  23. repeated int32 testRepeatedInt = 1;
  24. }
  25. message RepeatedUIntMessage {
  26. repeated uint32 testRepeatedInt = 1;
  27. }
  28. message RepeatedSInt64Message {
  29. repeated sint64 testRepeatedInt = 1;
  30. }
  31. message RepeatedInt64Message {
  32. repeated int64 testRepeatedInt = 1;
  33. }
  34. message RepeatedUInt64Message {
  35. repeated uint64 testRepeatedInt = 1;
  36. }
  37. message RepeatedFixedIntMessage {
  38. repeated fixed32 testRepeatedInt = 1;
  39. }
  40. message RepeatedSFixedIntMessage {
  41. repeated sfixed32 testRepeatedInt = 1;
  42. }
  43. message RepeatedFixedInt64Message {
  44. repeated fixed64 testRepeatedInt = 1;
  45. }
  46. message RepeatedSFixedInt64Message {
  47. repeated sfixed64 testRepeatedInt = 1;
  48. }