How to message nested slice with protobuf

I am trying to message a [][]int32 but I do not get how to construct the message in the .proto file.

For just []int32 this works

message Message {
  repeated int32 nums = 1;
}

How do I specify that nums is repeated twice for [][]int32?


message Data {
  repeated int32 nums = 1;
}

message Message {
  repeated Data data = 1;
}
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.