You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.3 KiB
31 lines
1.3 KiB
5 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package envoy.extensions.compression.gzip.decompressor.v3;
|
||
|
|
||
|
import "google/protobuf/wrappers.proto";
|
||
|
|
||
|
import "udpa/annotations/migrate.proto";
|
||
|
import "udpa/annotations/status.proto";
|
||
|
import "udpa/annotations/versioning.proto";
|
||
|
import "validate/validate.proto";
|
||
|
|
||
|
option java_package = "io.envoyproxy.envoy.extensions.compression.gzip.decompressor.v3";
|
||
|
option java_outer_classname = "GzipProto";
|
||
|
option java_multiple_files = true;
|
||
|
option (udpa.annotations.file_status).package_version_status = ACTIVE;
|
||
|
|
||
|
// [#protodoc-title: Gzip Decompressor]
|
||
|
// [#extension: envoy.compression.gzip.decompressor]
|
||
|
|
||
|
message Gzip {
|
||
|
// Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
|
||
|
// The decompression window size needs to be equal or larger than the compression window size.
|
||
|
// The default is 15 per zlib's manual. For more details about this parameter, please refer to
|
||
|
// zlib manual > inflateInit2.
|
||
|
google.protobuf.UInt32Value window_bits = 1 [(validate.rules).uint32 = {lte: 15 gte: 9}];
|
||
|
|
||
|
// Value for zlib's decompressor output buffer. If not set, defaults to 4096.
|
||
|
// See https://www.zlib.net/manual.html for more details.
|
||
|
google.protobuf.UInt32Value chunk_size = 2 [(validate.rules).uint32 = {lte: 65536 gte: 4096}];
|
||
|
}
|