protobuf文件定义及转化为java对象

上传者: liying19870128 | 上传时间: 2021-09-17 09:50:08 | 文件大小: 1.97MB | 文件类型: ZIP
定义protobuf文件(包含enum,message,required,optional,repeated, 结构体定义中引用另一个结构体), 生成java文件,能够构建java对象,并转化为字节byte或者流,能够将流或字节转化为对象

文件下载

资源详情

[{"title":"( 45 个子文件 1.97MB ) protobuf文件定义及转化为java对象","children":[{"title":"CreateProtoBuf","children":[{"title":"proto","children":[{"title":"msg.proto <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"mobile.proto <span style='color:#111;'> 474B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"protobuftest","children":[{"title":"mobile","children":[{"title":"MobileClient.java <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"Mobile.java <span style='color:#111;'> 48.82KB </span>","children":null,"spread":false},{"title":"MobileServer.java <span style='color:#111;'> 847B </span>","children":null,"spread":false}],"spread":true},{"title":"protobuf","children":[{"title":"PersonProbuf.java <span style='color:#111;'> 111.23KB </span>","children":null,"spread":false},{"title":"ProtoTest.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"com","children":[{"title":"protobuftest","children":[{"title":"mobile","children":[{"title":"Mobile$1.class <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"Mobile$Hardware.class <span style='color:#111;'> 11.29KB </span>","children":null,"spread":false},{"title":"MobileServer.class <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"Mobile$Hardware$Builder.class <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false},{"title":"Mobile$MobilePhone.class <span style='color:#111;'> 14.71KB </span>","children":null,"spread":false},{"title":"Mobile$HardwareOrBuilder.class <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"Mobile$MobilePhoneOrBuilder.class <span style='color:#111;'> 974B </span>","children":null,"spread":false},{"title":"Mobile$MobilePhone$Builder.class <span style='color:#111;'> 15.16KB </span>","children":null,"spread":false},{"title":"Mobile$Hardware$1.class <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Mobile$MobilePhone$1.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Mobile.class <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"MobileClient.class <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"protobuf","children":[{"title":"PersonProbuf$Person.class <span style='color:#111;'> 15.29KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$CountryInfo.class <span style='color:#111;'> 13.10KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$PhoneNumberOrBuilder.class <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"PersonProbuf$AddressBook$1.class <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"PersonProbuf$AddressBook.class <span style='color:#111;'> 12.30KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$1.class <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$Builder.class <span style='color:#111;'> 18.27KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$PhoneNumber.class <span style='color:#111;'> 12.93KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$PhoneNumber$Builder.class <span style='color:#111;'> 10.23KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$CountryInfo$1.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"PersonProbuf$AddressBookOrBuilder.class <span style='color:#111;'> 899B </span>","children":null,"spread":false},{"title":"PersonProbuf$AddressBook$Builder.class <span style='color:#111;'> 14.81KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$PhoneNumber$1.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$PhoneType$1.class <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$CountryInfoOrBuilder.class <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"PersonProbuf.class <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false},{"title":"ProtoTest.class <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$CountryInfo$Builder.class <span style='color:#111;'> 10.80KB </span>","children":null,"spread":false},{"title":"PersonProbuf$PersonOrBuilder.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"PersonProbuf$1.class <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"PersonProbuf$Person$PhoneType.class <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"protoc.exe <span style='color:#111;'> 2.21MB </span>","children":null,"spread":false},{"title":"protobuf-java-3.5.1.jar <span style='color:#111;'> 1.35MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明