repeated.proto 357 B

123456789101112
  1. message Outer {
  2. // As of: https://developers.google.com/protocol-buffers/docs/encoding#optional
  3. repeated Inner inner = 1;
  4. // "If your message definition has repeated elements (without the [packed=true] option), the encoded message has
  5. // zero or more key-value pairs with the same tag number."
  6. }
  7. message Inner {
  8. optional uint32 inner_value = 1;
  9. }