---
title: " Generic marshalling with Google Protocol Buffers"
author: "ChinaEstone"
date: "2013-11-23T21:51:48Z"
tags: []
categories: ["编程语言"]
slug: "generic-marshalling-with-google-protocol-buffers"
draft: false
lastmod: "2013-11-24T01:23:02Z"
id: 1979859
url: "https://chinaestone.iteye.com/blog/1979859"
---

Protobuf解析时 不能使用通用解析方法 无法使用消息的多态性问题的临时解决办法

http://planet.jboss.org/post/generic\_marshalling\_with\_google\_protocol\_buffers

 

Protobuf的继承使用的java实现

http://blog.wolfman.com/articles/2011/11/23/how-to-implement-polymorphic-protocol-buffers-in-java

http://www.indelible.org/ink/protobuf-polymorphism/