Interface BrotliOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Brotli,Brotli.Builder
public interface BrotliOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.UInt32ValuegetChunkSize()Value for compressor's next output buffer.com.google.protobuf.UInt32ValueOrBuildergetChunkSizeOrBuilder()Value for compressor's next output buffer.booleangetDisableLiteralContextModeling()If true, disables "literal context modeling" format feature.Brotli.EncoderModegetEncoderMode()A value used to tune encoder for specific input.intgetEncoderModeValue()A value used to tune encoder for specific input.com.google.protobuf.UInt32ValuegetInputBlockBits()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.com.google.protobuf.UInt32ValueOrBuildergetInputBlockBitsOrBuilder()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.com.google.protobuf.UInt32ValuegetQuality()Value from 0 to 11 that controls the main compression speed-density lever.com.google.protobuf.UInt32ValueOrBuildergetQualityOrBuilder()Value from 0 to 11 that controls the main compression speed-density lever.com.google.protobuf.UInt32ValuegetWindowBits()Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.com.google.protobuf.UInt32ValueOrBuildergetWindowBitsOrBuilder()Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.booleanhasChunkSize()Value for compressor's next output buffer.booleanhasInputBlockBits()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.booleanhasQuality()Value from 0 to 11 that controls the main compression speed-density lever.booleanhasWindowBits()Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasQuality
boolean hasQuality()
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }- Returns:
- Whether the quality field is set.
-
getQuality
com.google.protobuf.UInt32Value getQuality()
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }- Returns:
- The quality.
-
getQualityOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getQualityOrBuilder()
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }
-
getEncoderModeValue
int getEncoderModeValue()
A value used to tune encoder for specific input. For more information about modes, please refer to brotli manual: https://brotli.org/encode.html#aa6f This field will be set to "DEFAULT" if not specified.
.envoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderMode encoder_mode = 2 [(.validate.rules) = { ... }- Returns:
- The enum numeric value on the wire for encoderMode.
-
getEncoderMode
Brotli.EncoderMode getEncoderMode()
A value used to tune encoder for specific input. For more information about modes, please refer to brotli manual: https://brotli.org/encode.html#aa6f This field will be set to "DEFAULT" if not specified.
.envoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderMode encoder_mode = 2 [(.validate.rules) = { ... }- Returns:
- The encoderMode.
-
hasWindowBits
boolean hasWindowBits()
Value from 10 to 24 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }- Returns:
- Whether the windowBits field is set.
-
getWindowBits
com.google.protobuf.UInt32Value getWindowBits()
Value from 10 to 24 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }- Returns:
- The windowBits.
-
getWindowBitsOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getWindowBitsOrBuilder()
Value from 10 to 24 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }
-
hasInputBlockBits
boolean hasInputBlockBits()
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }- Returns:
- Whether the inputBlockBits field is set.
-
getInputBlockBits
com.google.protobuf.UInt32Value getInputBlockBits()
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }- Returns:
- The inputBlockBits.
-
getInputBlockBitsOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getInputBlockBitsOrBuilder()
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }
-
hasChunkSize
boolean hasChunkSize()
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }- Returns:
- Whether the chunkSize field is set.
-
getChunkSize
com.google.protobuf.UInt32Value getChunkSize()
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }- Returns:
- The chunkSize.
-
getChunkSizeOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }
-
getDisableLiteralContextModeling
boolean getDisableLiteralContextModeling()
If true, disables "literal context modeling" format feature. This flag is a "decoding-speed vs compression ratio" trade-off.
bool disable_literal_context_modeling = 6;- Returns:
- The disableLiteralContextModeling.
-
-