如何在protobuf消息中添加一个长类型字段?对于下面的情况,myId是一个long类型的字段。
public class Dummy implements Serializable {
@Field("my_id")
@JsonProperty("my_id")
private Long myId;
}发布于 2022-07-26 09:50:47
标量类型原型指南
这是protobuf消息的一个示例,其中包含一个映射到protobuf中int64的Long:
message SearchRequest {
string query = 1;
int64 page_number = 2;
int64 result_per_page = 3;
}https://stackoverflow.com/questions/73120611
复制相似问题