10 lines
151 B
Protocol Buffer
10 lines
151 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package tutorial;
|
|
|
|
// 定义一个Person消息类型
|
|
message Person {
|
|
string name = 1;
|
|
int32 id = 2;
|
|
string email = 3;
|
|
} |