1syntax = "proto2"; 2 3message MainMessage { 4 oneof oneof1 { 5 uint32 oneof1_uint32 = 1; 6 } 7 oneof oneof2 { 8 uint32 oneof2_uint32 = 2; 9 } 10} 11 12