Hello I was trying to compile following scenerio using protoc:
message SampleMessage { repeated fixed32 i = 1; extensions 100 to 199; } extend SampleMessage { oneof test_oneof { string name = 126; fixed32 sub_message = 127; } } But getting following errors. SampleMessage.proto:6:3: Expected "required", "optional", or "repeated". SampleMessage.proto:6:20: Missing field number. *Any clue if oneof is supported in extended messages?* *Also is there a way to extend oneof field?* Thank you Himanshu Agarwal -- 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/d/optout.