This is how the messages are structured.

message event {

  required string appname = 1;
  optional int32 completion_status = 2;
  optional int32 page_number = 3;
  optional int32 results_count = 4;
  optional float duration = 5;
  optional string exception = 6;
  optional string label = 7;
  optional int32 level = 8;

  message more {
    extensions 1000 to max;
  }

}

---------

import "event.proto";

    message child_event {
        extend event.more {
            optional string id = 6000;
        }

        optional string server_id = 1;
    }


---------



On Mon, Dec 16, 2013 at 4:34 PM, Aditya Sakhuja <aditya.sakh...@gmail.com>wrote:

> hi,
>
> When I serialize a message using SerializeToString(), the extended
> attributes apparently do not get serialized, since they do not show up when
> I parseFromString() it back. Only the top level message's attr are
> persisted.
>
> Am i missing something ? I am working with a python client here..
>
>
> --
> Regards,
> -Aditya Sakhuja
>



-- 
Regards,
-Aditya Sakhuja

-- 
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