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.UInt32Value getChunkSize()
      Value for compressor's next output buffer.
      com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
      Value for compressor's next output buffer.
      boolean getDisableLiteralContextModeling()
      If true, disables "literal context modeling" format feature.
      Brotli.EncoderMode getEncoderMode()
      A value used to tune encoder for specific input.
      int getEncoderModeValue()
      A value used to tune encoder for specific input.
      com.google.protobuf.UInt32Value getInputBlockBits()
      Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.
      com.google.protobuf.UInt32ValueOrBuilder getInputBlockBitsOrBuilder()
      Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.
      com.google.protobuf.UInt32Value getQuality()
      Value from 0 to 11 that controls the main compression speed-density lever.
      com.google.protobuf.UInt32ValueOrBuilder getQualityOrBuilder()
      Value from 0 to 11 that controls the main compression speed-density lever.
      com.google.protobuf.UInt32Value getWindowBits()
      Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.
      com.google.protobuf.UInt32ValueOrBuilder getWindowBitsOrBuilder()
      Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.
      boolean hasChunkSize()
      Value for compressor's next output buffer.
      boolean hasInputBlockBits()
      Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.
      boolean hasQuality()
      Value from 0 to 11 that controls the main compression speed-density lever.
      boolean hasWindowBits()
      Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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) = { ... }
      • 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) = { ... }
      • 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) = { ... }
      • 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) = { ... }
      • 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) = { ... }
      • 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) = { ... }
      • 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) = { ... }
      • 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) = { ... }
      • 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) = { ... }
      • 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) = { ... }
      • 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;