On Wed, Oct 21, 2009 at 6:04 PM, SuKai <sukai090...@gmail.com> wrote:

> Because A_instance.user stored with different type of PB.
>
> Fill A_instance.user with B, C, or D , these are diff PB objects.
>

Then you should have three different fields:

message A {
  optional B user_b = 1;
  optional C user_c = 2;
  optional D user_d = 3;
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to