idea中.proto文件生成model类和service类 1、先安装插件 2、生成Java文件 protobuf:compile: 生成model类protobuf:compile-custom: 生成 service 类