Hi, i am looking for way how to handle other types by proto file. In my 

   - Map<String, Serializable>, 
   - Map<String, Object>
   - Serializable, 
   - Date.
   - etc.

Right now i serialize all these object to byteArray and on other side 

I see some topic about maps here: 
That measn i have to build my own message for repeated map object. But also 
is there problem with Serializable. 

I use it with RPC features like this:

rpc getFull(ObjectMap) returns (boolMessage);


message objectMap {
    required string key = 1;
    required objectSerializable value = 2;

message objectSerializable {
    required bytes bytes = 1;

plus object map could be implemented in other object and use with  RPC like 

message Foo {
   required string text = 1;
   repeated objectMap parameters = 2;

What is best way for do it (is this correct?) and how can i build the 
response message with repeated fields (Java).

Thank you,


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to