Is there a way to recursively get all FieldDescriptors in protobuf?

前端 未结 0 1864
一向
一向 2021-02-05 04:09

I am trying to implement a way to check if all nontrivial fields in proto3 message are set (since presence is not encoded for trivial types like int).

I have code like th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题