oneof 的用意是达到C 语言union 数据类型的效果,但是诸多大佬还是发现它可以标识缺失字段。 message Status { oneof show { int32 is_show = 1; } } ...
確定! 回上一頁