github.com/gogo/protobuf@v1.3.2/test/issue322/issue322.proto (about) 1 syntax = "proto2"; 2 package test; 3 4 import "github.com/gogo/protobuf/gogoproto/gogo.proto"; 5 6 option (gogoproto.gostring_all) = true; 7 option (gogoproto.populate_all) = true; 8 option (gogoproto.equal_all) = true; 9 option (gogoproto.testgen_all) = true; 10 option (gogoproto.compare_all) = true; 11 12 message OneofTest { 13 oneof union { 14 int32 i = 1 [default = 4]; 15 } 16 }