mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 19:39:05 +00:00
21 lines
497 B
Protocol Buffer
21 lines
497 B
Protocol Buffer
|
|
||
|
syntax = "proto3";
|
||
|
|
||
|
package protocol;
|
||
|
|
||
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||
|
|
||
|
option (gogoproto.goproto_getters_all) = false;
|
||
|
option (gogoproto.sizer_all) = false;
|
||
|
option (gogoproto.protosizer_all) = true;
|
||
|
option (gogoproto.goproto_enum_stringer_all) = false;
|
||
|
option (gogoproto.goproto_enum_prefix_all) = false;
|
||
|
|
||
|
message TestOldDeviceID {
|
||
|
bytes test = 1;
|
||
|
}
|
||
|
|
||
|
message TestNewDeviceID {
|
||
|
bytes test = 1 [(gogoproto.customtype) = "DeviceID", (gogoproto.nullable) = false];
|
||
|
}
|