协议类型 syntax = "proto2"; 这个分号容易掉 注释写法 //注释 数据结构 message StructName{ //这个大括号在这里在VS中会有语法高亮** //字段规则 字段类型 字段名 字段标识号 required string name = 1; //每次分号结尾 repeated int32 array_value = 2;