Interface GzipOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Gzip, Gzip.Builder

public interface GzipOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.UInt32Value
    Value for Zlib's next output buffer.
    com.google.protobuf.UInt32ValueOrBuilder
    Value for Zlib's next output buffer.
    A value used for selecting the zlib compression level.
    int
    A value used for selecting the zlib compression level.
    A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.
    int
    A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.
    Set of configuration parameters common for all compression filters.
    Set of configuration parameters common for all compression filters.
    com.google.protobuf.UInt32Value
    Value from 1 to 9 that controls the amount of internal memory used by zlib.
    com.google.protobuf.UInt32ValueOrBuilder
    Value from 1 to 9 that controls the amount of internal memory used by zlib.
    com.google.protobuf.UInt32Value
    Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
    com.google.protobuf.UInt32ValueOrBuilder
    Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
    boolean
    Value for Zlib's next output buffer.
    boolean
    Set of configuration parameters common for all compression filters.
    boolean
    Value from 1 to 9 that controls the amount of internal memory used by zlib.
    boolean
    Value from 9 to 15 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 Details

    • hasMemoryLevel

      boolean hasMemoryLevel()
       Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values
       use more memory, but are faster and produce better compression results. The default value is 5.
       
      .google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the memoryLevel field is set.
    • getMemoryLevel

      com.google.protobuf.UInt32Value getMemoryLevel()
       Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values
       use more memory, but are faster and produce better compression results. The default value is 5.
       
      .google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... }
      Returns:
      The memoryLevel.
    • getMemoryLevelOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getMemoryLevelOrBuilder()
       Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values
       use more memory, but are faster and produce better compression results. The default value is 5.
       
      .google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... }
    • getCompressionLevelValue

      int getCompressionLevelValue()
       A value used for selecting the zlib compression level. This setting will affect speed and
       amount of compression applied to the content. "BEST" provides higher compression at the cost of
       higher latency, "SPEED" provides lower compression with minimum impact on response time.
       "DEFAULT" provides an optimal result between speed and compression. This field will be set to
       "DEFAULT" if not specified.
       
      .envoy.extensions.filters.http.gzip.v3.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }
      Returns:
      The enum numeric value on the wire for compressionLevel.
    • getCompressionLevel

      Gzip.CompressionLevel.Enum getCompressionLevel()
       A value used for selecting the zlib compression level. This setting will affect speed and
       amount of compression applied to the content. "BEST" provides higher compression at the cost of
       higher latency, "SPEED" provides lower compression with minimum impact on response time.
       "DEFAULT" provides an optimal result between speed and compression. This field will be set to
       "DEFAULT" if not specified.
       
      .envoy.extensions.filters.http.gzip.v3.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }
      Returns:
      The compressionLevel.
    • getCompressionStrategyValue

      int getCompressionStrategyValue()
       A value used for selecting the zlib compression strategy which is directly related to the
       characteristics of the content. Most of the time "DEFAULT" will be the best choice, though
       there are situations which changing this parameter might produce better results. For example,
       run-length encoding (RLE) is typically used when the content is known for having sequences
       which same data occurs many consecutive times. For more information about each strategy, please
       refer to zlib manual.
       
      .envoy.extensions.filters.http.gzip.v3.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }
      Returns:
      The enum numeric value on the wire for compressionStrategy.
    • getCompressionStrategy

      Gzip.CompressionStrategy getCompressionStrategy()
       A value used for selecting the zlib compression strategy which is directly related to the
       characteristics of the content. Most of the time "DEFAULT" will be the best choice, though
       there are situations which changing this parameter might produce better results. For example,
       run-length encoding (RLE) is typically used when the content is known for having sequences
       which same data occurs many consecutive times. For more information about each strategy, please
       refer to zlib manual.
       
      .envoy.extensions.filters.http.gzip.v3.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }
      Returns:
      The compressionStrategy.
    • hasWindowBits

      boolean hasWindowBits()
       Value from 9 to 15 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 12
       which will produce a 4096 bytes window. For more details about this parameter, please refer to
       zlib manual > deflateInit2.
       
      .google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... }
      Returns:
      Whether the windowBits field is set.
    • getWindowBits

      com.google.protobuf.UInt32Value getWindowBits()
       Value from 9 to 15 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 12
       which will produce a 4096 bytes window. For more details about this parameter, please refer to
       zlib manual > deflateInit2.
       
      .google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... }
      Returns:
      The windowBits.
    • getWindowBitsOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getWindowBitsOrBuilder()
       Value from 9 to 15 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 12
       which will produce a 4096 bytes window. For more details about this parameter, please refer to
       zlib manual > deflateInit2.
       
      .google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... }
    • hasCompressor

      boolean hasCompressor()
       Set of configuration parameters common for all compression filters. You can define
       ``content_length``, ``content_type`` and other parameters in this field.
       
      .envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;
      Returns:
      Whether the compressor field is set.
    • getCompressor

      Compressor getCompressor()
       Set of configuration parameters common for all compression filters. You can define
       ``content_length``, ``content_type`` and other parameters in this field.
       
      .envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;
      Returns:
      The compressor.
    • getCompressorOrBuilder

      CompressorOrBuilder getCompressorOrBuilder()
       Set of configuration parameters common for all compression filters. You can define
       ``content_length``, ``content_type`` and other parameters in this field.
       
      .envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;
    • hasChunkSize

      boolean hasChunkSize()
       Value for Zlib's next output buffer. If not set, defaults to 4096.
       See https://www.zlib.net/manual.html for more details. Also see
       https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
       
      .google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }
      Returns:
      Whether the chunkSize field is set.
    • getChunkSize

      com.google.protobuf.UInt32Value getChunkSize()
       Value for Zlib's next output buffer. If not set, defaults to 4096.
       See https://www.zlib.net/manual.html for more details. Also see
       https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
       
      .google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }
      Returns:
      The chunkSize.
    • getChunkSizeOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
       Value for Zlib's next output buffer. If not set, defaults to 4096.
       See https://www.zlib.net/manual.html for more details. Also see
       https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
       
      .google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }