mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-11 13:51:03 -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];
|
||
|
}
|
||
|
}
|