proto 文件如何定义任意值的数组

proto 文件如何定义任意值的数组

最佳答案

repeated google.protobuf.ListValue lists = 1;

这个结构可以在数组里面存放任意类型

2年前 评论
讨论数量: 1

repeated google.protobuf.ListValue lists = 1;

这个结构可以在数组里面存放任意类型

2年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!