mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
15 lines
411 B
Protocol Buffer
15 lines
411 B
Protocol Buffer
package walpb;
|
|
|
|
import "code.google.com/p/gogoprotobuf/gogoproto/gogo.proto";
|
|
|
|
option (gogoproto.marshaler_all) = true;
|
|
option (gogoproto.sizer_all) = true;
|
|
option (gogoproto.unmarshaler_all) = true;
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
message Record {
|
|
required int64 type = 1 [(gogoproto.nullable) = false];
|
|
required uint32 crc = 2 [(gogoproto.nullable) = false];
|
|
optional bytes data = 3;
|
|
}
|