github.com/sequix/cortex@v1.1.6/pkg/chunk/storage/caching_index_client.proto (about) 1 syntax = "proto3"; 2 3 package storage; 4 5 import "github.com/gogo/protobuf/gogoproto/gogo.proto"; 6 7 option (gogoproto.marshaler_all) = true; 8 option (gogoproto.unmarshaler_all) = true; 9 10 message Entry { 11 bytes Column = 1 [(gogoproto.customtype) = "Bytes", (gogoproto.nullable) = false]; 12 bytes Value = 2 [(gogoproto.customtype) = "Bytes", (gogoproto.nullable) = false]; 13 } 14 15 message ReadBatch { 16 repeated Entry entries = 1 [(gogoproto.nullable) = false]; 17 string key = 2; 18 19 // The time at which the key expires. 20 int64 expiry = 3; 21 22 // The number of entries; used for cardinality limiting. 23 // entries will be empty when this is set. 24 int32 cardinality = 4; 25 }