package proto;
message Person {
required string name = 1;
required int32 id = 2;
optional string email = 3;
}#gpb即Google protocol buffer如图:
原文链接:http://blog.csdn.net/xufeng0991/article/details/45031211
原文地址:http://blog.csdn.net/xufeng0991/article/details/45031211