1syntax = "proto2"; 2 3package oneoftest; 4 5message Foo { 6 oneof bar { 7 string get_bar = 1; 8 } 9} 10