【发布时间】:2017-11-16 22:12:40
【问题描述】:
看proto3参考:
https://developers.google.com/protocol-buffers/docs/proto3#simple
上面提到了singular:
singular: a well-formed message can have zero or one of this field (but not more than one).
我不清楚这与optional 有何不同。 singular 只是一种明确的方式来说明某事是optional(现在对于 proto3 是隐含的)?或者还有其他我想念的东西吗?
谢谢。
【问题讨论】:
标签: protocol-buffers