When I run this protobuf
message CommandMessage
{
oneof Action
{
string set = 1;
int32 inc = 2;
int64 return = 3;
bytes quit = 4;
}
optional string text = 20;
}
with protoc --descriptor_set_out, all fields have a 0 in oneof_index in the
FieldDescriptorInfo.
Is this the normal behaviour? If yes, how can I find out what fields are in
the oneof?
Thanks
Michael
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.