mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-18 04:50:23 -04:00
15 lines
328 B
Protocol Buffer
15 lines
328 B
Protocol Buffer
syntax = "proto2";
|
|
package test;
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
option (gogoproto.gostring_all) = true;
|
|
option (gogoproto.populate_all) = true;
|
|
option (gogoproto.equal_all) = true;
|
|
option (gogoproto.testgen_all) = true;
|
|
|
|
message OneofTest {
|
|
oneof union {
|
|
int32 i = 1 [default = 4];
|
|
}
|
|
} |