linx-simulator2/node_modules/protobufjs/tests/repeated.proto
2019-09-18 11:11:16 +03:00

13 lines
369 B
Protocol Buffer

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