编程技术 required 改成 optional 后 老版本客户端解析报 missing required fields 2026年11月12日 9823189 为了兼容新业务,把 proto2 里的 required s…
编程技术 proto3 字段设成 0 后 hasLevel 返回 false 未设置和零值怎么区分 2026年11月12日 9823189 message Coupon { optional int3…
编程技术 proto3 string 塞了 GBK 字节 服务端报 string field contains invalid UTF-8 2026年11月12日 9823189 String name = new String(gbkBy…