go.etcd.io/etcd@v3.3.27+incompatible/wal/walpb/record.proto (about) 1 syntax = "proto2"; 2 package walpb; 3 4 import "gogoproto/gogo.proto"; 5 6 option (gogoproto.marshaler_all) = true; 7 option (gogoproto.sizer_all) = true; 8 option (gogoproto.unmarshaler_all) = true; 9 option (gogoproto.goproto_getters_all) = false; 10 11 message Record { 12 optional int64 type = 1 [(gogoproto.nullable) = false]; 13 optional uint32 crc = 2 [(gogoproto.nullable) = false]; 14 optional bytes data = 3; 15 } 16 17 message Snapshot { 18 optional uint64 index = 1 [(gogoproto.nullable) = false]; 19 optional uint64 term = 2 [(gogoproto.nullable) = false]; 20 }