mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Signed-off-by: Wei Fu <fuweid89@gmail.com> Signed-off-by: Benjamin Wang <wachao@vmware.com>
17 lines
421 B
Protocol Buffer
17 lines
421 B
Protocol Buffer
syntax = "proto2";
|
|
package snappb;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
option go_package = "go.etcd.io/etcd/server/v3/etcdserver/api/snap/snappb";
|
|
|
|
option (gogoproto.marshaler_all) = true;
|
|
option (gogoproto.sizer_all) = true;
|
|
option (gogoproto.unmarshaler_all) = true;
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
message snapshot {
|
|
optional uint32 crc = 1 [(gogoproto.nullable) = false];
|
|
optional bytes data = 2;
|
|
}
|