阅读背景:

在运行时使用递归结构和协议缓冲区

来源:互联网 

I'm trying to test a recursive Protocol Buffers definition (using Java but probably doesn't matter). I'm trying to fill in my message with 2 levels deep of RootType messages of "otherGreetings" (a recursive structure). I can't get the syntax correct and can't find any samples. I either end up with a stack overflow or my messages all get jammed into the same "otherGreetings" list. Any thoughts? Here's my message.I'm trying to test a recursive Protocol Buffers




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: