File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -2000,6 +2000,9 @@ message Compressor {
20002000
20012001 // Brotli compression.
20022002 BROTLI = 3 ;
2003+
2004+ // Zstandard compression with external dictionary support.
2005+ ZSTD_DICT = 4 ;
20032006 }
20042007}
20052008
@@ -2036,6 +2039,19 @@ message CacheCapabilities {
20362039 // [BatchUpdateBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.BatchUpdateBlobs]
20372040 // requests.
20382041 repeated Compressor.Value supported_batch_update_compressors = 7 ;
2042+
2043+ // BUILDBUDDY EXTENSIONS BELOW
2044+
2045+ // A digest pointing to a [ZstdDictionaryRegistry][build.bazel.remote.execution.v2.ZstdDictionaryRegistry]
2046+ // object in CAS that contains the zstd dictionaries that should be used for
2047+ // compressing and decompressing blobs.
2048+ Digest zstd_dictionary_registry = 1000 ;
2049+ }
2050+
2051+ message ZstdDictionaryRegistry {
2052+ // Each file's name should be set to either the dictID of the ZSTD dictionary (32 bits unsigned integer),
2053+ // or "default" for the default dictionary that client SHOULD use to compress uploaded data.
2054+ repeated FileNode dictionaries = 1 ;
20392055}
20402056
20412057// Capabilities of the remote execution system.
You can’t perform that action at this time.
0 commit comments