blob: ceb77355c222201a37f70a96bdb6401369437e1e [file] [log] [blame]
Kun Yi0a940b92019-01-07 16:33:11 -08001syntax = "proto2";
2
3package binstore.binaryblobproto;
4
5message BinaryBlob {
6 optional string blob_id = 1; // A valid, unique unix path as identifier
7 optional bytes data = 2;
8}
9
10/* BinaryBlobBase is analogous to a directory of BinaryBlobs. */
11message BinaryBlobBase {
12 optional string blob_base_id = 1; // Common parent path of contained blobs
13 repeated BinaryBlob blobs = 2;
14 optional uint32 max_size_bytes = 3;
15}