oneof 的用意是達到C 語言union 資料型別的效果,但是諸多大佬還是發現它可以標識缺失欄位。 message Status { oneof show { int32 is_show = 1; } ...
確定! 回上一頁