syntax = "proto2";
package walpb;

import "raftpb/raft.proto";

option go_package = "go.etcd.io/etcd/server/v3/storage/wal/walpb";

message Record {
	optional int64 type  = 1;
	optional uint32 crc  = 2;
	optional bytes data  = 3;
}

// Keep in sync with raftpb.SnapshotMetadata.
message Snapshot {
	optional uint64 index = 1;
	optional uint64 term  = 2;
	// Field populated since >=etcd-3.5.0.
	optional raftpb.ConfState conf_state = 3;
}
