You cannot set default values for messages (or fields in message). You would have to create default instances of ColorData in your code.
On Mon, Sep 5, 2011 at 5:50 AM, Werner <[email protected]> wrote: > Hello, > > message ColorData > { > required int32 red =263; > required int32 green =264; > required int32 blue =265; > }; > > message BpmDjConfigData > { > optional ColorData color_tempo44 =225 [default=?]; > optional ColorData color_tempo46 =226 [default=?]; > ... > > How can I specifify a different default value for color_tempo44 and > color_tempo46 ? > > With kind regards, > > Werner,- > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
