Get desktop application:
View/edit binary Protocol Buffers messages
可选消息字段类型:bool int32 float double string 或者自定义消息类型,如下面的 PhoneNumber 修饰符:optional: 可选字段, 修饰符:repeated:可重复,如数组。 修饰符:required:必要字段,必须给值,否则会报错 RuntimeException,但是在 protobuf 版本 3 中被移除。 慎用 required,因为一旦被标记 requieds,以后将不能更改,否则可能会出问题。
Used in:
Used in:
Used in: