java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
io.envoyproxy.envoy.extensions.compression.gzip.compressor.v3.Gzip.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GzipOrBuilder, Cloneable
Enclosing class:
Gzip

public static final class Gzip.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder> implements GzipOrBuilder
 [#next-free-field: 6]
 
Protobuf type envoy.extensions.compression.gzip.compressor.v3.Gzip
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    Value for Zlib's next output buffer.
    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.
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    Value from 1 to 9 that controls the amount of internal memory used by zlib.
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
     
    com.google.protobuf.UInt32Value
    Value for Zlib's next output buffer.
    com.google.protobuf.UInt32Value.Builder
    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.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.UInt32Value
    Value from 1 to 9 that controls the amount of internal memory used by zlib.
    com.google.protobuf.UInt32Value.Builder
    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.UInt32Value.Builder
    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
    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.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeChunkSize(com.google.protobuf.UInt32Value value)
    Value for Zlib's next output buffer.
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeFrom(Gzip other)
     
    mergeMemoryLevel(com.google.protobuf.UInt32Value value)
    Value from 1 to 9 that controls the amount of internal memory used by zlib.
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    mergeWindowBits(com.google.protobuf.UInt32Value value)
    Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
    setChunkSize(com.google.protobuf.UInt32Value value)
    Value for Zlib's next output buffer.
    setChunkSize(com.google.protobuf.UInt32Value.Builder builderForValue)
    Value for Zlib's next output buffer.
    A value used for selecting the zlib compression level.
    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.
    A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setMemoryLevel(com.google.protobuf.UInt32Value value)
    Value from 1 to 9 that controls the amount of internal memory used by zlib.
    setMemoryLevel(com.google.protobuf.UInt32Value.Builder builderForValue)
    Value from 1 to 9 that controls the amount of internal memory used by zlib.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setWindowBits(com.google.protobuf.UInt32Value value)
    Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
    setWindowBits(com.google.protobuf.UInt32Value.Builder builderForValue)
    Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • clear

      public Gzip.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • getDefaultInstanceForType

      public Gzip getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Gzip build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Gzip buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Gzip.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • setField

      public Gzip.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • clearField

      public Gzip.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • clearOneof

      public Gzip.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • setRepeatedField

      public Gzip.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • addRepeatedField

      public Gzip.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • mergeFrom

      public Gzip.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gzip.Builder>
    • mergeFrom

      public Gzip.Builder mergeFrom(Gzip other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • mergeFrom

      public Gzip.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gzip.Builder>
      Throws:
      IOException
    • hasMemoryLevel

      public 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) = { ... }
      Specified by:
      hasMemoryLevel in interface GzipOrBuilder
      Returns:
      Whether the memoryLevel field is set.
    • getMemoryLevel

      public 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) = { ... }
      Specified by:
      getMemoryLevel in interface GzipOrBuilder
      Returns:
      The memoryLevel.
    • setMemoryLevel

      public Gzip.Builder setMemoryLevel(com.google.protobuf.UInt32Value value)
       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) = { ... }
    • setMemoryLevel

      public Gzip.Builder setMemoryLevel(com.google.protobuf.UInt32Value.Builder builderForValue)
       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) = { ... }
    • mergeMemoryLevel

      public Gzip.Builder mergeMemoryLevel(com.google.protobuf.UInt32Value value)
       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) = { ... }
    • clearMemoryLevel

      public Gzip.Builder clearMemoryLevel()
       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) = { ... }
    • getMemoryLevelBuilder

      public com.google.protobuf.UInt32Value.Builder getMemoryLevelBuilder()
       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) = { ... }
    • getMemoryLevelOrBuilder

      public 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) = { ... }
      Specified by:
      getMemoryLevelOrBuilder in interface GzipOrBuilder
    • getCompressionLevelValue

      public 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_COMPRESSION" provides higher compression
       at the cost of higher latency and is equal to "COMPRESSION_LEVEL_9". "BEST_SPEED" provides
       lower compression with minimum impact on response time, the same as "COMPRESSION_LEVEL_1".
       "DEFAULT_COMPRESSION" provides an optimal result between speed and compression. According
       to zlib's manual this level gives the same result as "COMPRESSION_LEVEL_6".
       This field will be set to "DEFAULT_COMPRESSION" if not specified.
       
      .envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel compression_level = 2 [(.validate.rules) = { ... }
      Specified by:
      getCompressionLevelValue in interface GzipOrBuilder
      Returns:
      The enum numeric value on the wire for compressionLevel.
    • setCompressionLevelValue

      public Gzip.Builder setCompressionLevelValue(int value)
       A value used for selecting the zlib compression level. This setting will affect speed and
       amount of compression applied to the content. "BEST_COMPRESSION" provides higher compression
       at the cost of higher latency and is equal to "COMPRESSION_LEVEL_9". "BEST_SPEED" provides
       lower compression with minimum impact on response time, the same as "COMPRESSION_LEVEL_1".
       "DEFAULT_COMPRESSION" provides an optimal result between speed and compression. According
       to zlib's manual this level gives the same result as "COMPRESSION_LEVEL_6".
       This field will be set to "DEFAULT_COMPRESSION" if not specified.
       
      .envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel compression_level = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The enum numeric value on the wire for compressionLevel to set.
      Returns:
      This builder for chaining.
    • getCompressionLevel

      public Gzip.CompressionLevel getCompressionLevel()
       A value used for selecting the zlib compression level. This setting will affect speed and
       amount of compression applied to the content. "BEST_COMPRESSION" provides higher compression
       at the cost of higher latency and is equal to "COMPRESSION_LEVEL_9". "BEST_SPEED" provides
       lower compression with minimum impact on response time, the same as "COMPRESSION_LEVEL_1".
       "DEFAULT_COMPRESSION" provides an optimal result between speed and compression. According
       to zlib's manual this level gives the same result as "COMPRESSION_LEVEL_6".
       This field will be set to "DEFAULT_COMPRESSION" if not specified.
       
      .envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel compression_level = 2 [(.validate.rules) = { ... }
      Specified by:
      getCompressionLevel in interface GzipOrBuilder
      Returns:
      The compressionLevel.
    • setCompressionLevel

      public Gzip.Builder setCompressionLevel(Gzip.CompressionLevel value)
       A value used for selecting the zlib compression level. This setting will affect speed and
       amount of compression applied to the content. "BEST_COMPRESSION" provides higher compression
       at the cost of higher latency and is equal to "COMPRESSION_LEVEL_9". "BEST_SPEED" provides
       lower compression with minimum impact on response time, the same as "COMPRESSION_LEVEL_1".
       "DEFAULT_COMPRESSION" provides an optimal result between speed and compression. According
       to zlib's manual this level gives the same result as "COMPRESSION_LEVEL_6".
       This field will be set to "DEFAULT_COMPRESSION" if not specified.
       
      .envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel compression_level = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The compressionLevel to set.
      Returns:
      This builder for chaining.
    • clearCompressionLevel

      public Gzip.Builder clearCompressionLevel()
       A value used for selecting the zlib compression level. This setting will affect speed and
       amount of compression applied to the content. "BEST_COMPRESSION" provides higher compression
       at the cost of higher latency and is equal to "COMPRESSION_LEVEL_9". "BEST_SPEED" provides
       lower compression with minimum impact on response time, the same as "COMPRESSION_LEVEL_1".
       "DEFAULT_COMPRESSION" provides an optimal result between speed and compression. According
       to zlib's manual this level gives the same result as "COMPRESSION_LEVEL_6".
       This field will be set to "DEFAULT_COMPRESSION" if not specified.
       
      .envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel compression_level = 2 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • getCompressionStrategyValue

      public 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_STRATEGY" will be the best choice,
       which is also the default value for the parameter, though there are situations when
       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.compression.gzip.compressor.v3.Gzip.CompressionStrategy compression_strategy = 3 [(.validate.rules) = { ... }
      Specified by:
      getCompressionStrategyValue in interface GzipOrBuilder
      Returns:
      The enum numeric value on the wire for compressionStrategy.
    • setCompressionStrategyValue

      public Gzip.Builder setCompressionStrategyValue(int value)
       A value used for selecting the zlib compression strategy which is directly related to the
       characteristics of the content. Most of the time "DEFAULT_STRATEGY" will be the best choice,
       which is also the default value for the parameter, though there are situations when
       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.compression.gzip.compressor.v3.Gzip.CompressionStrategy compression_strategy = 3 [(.validate.rules) = { ... }
      Parameters:
      value - The enum numeric value on the wire for compressionStrategy to set.
      Returns:
      This builder for chaining.
    • getCompressionStrategy

      public 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_STRATEGY" will be the best choice,
       which is also the default value for the parameter, though there are situations when
       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.compression.gzip.compressor.v3.Gzip.CompressionStrategy compression_strategy = 3 [(.validate.rules) = { ... }
      Specified by:
      getCompressionStrategy in interface GzipOrBuilder
      Returns:
      The compressionStrategy.
    • setCompressionStrategy

      public Gzip.Builder setCompressionStrategy(Gzip.CompressionStrategy value)
       A value used for selecting the zlib compression strategy which is directly related to the
       characteristics of the content. Most of the time "DEFAULT_STRATEGY" will be the best choice,
       which is also the default value for the parameter, though there are situations when
       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.compression.gzip.compressor.v3.Gzip.CompressionStrategy compression_strategy = 3 [(.validate.rules) = { ... }
      Parameters:
      value - The compressionStrategy to set.
      Returns:
      This builder for chaining.
    • clearCompressionStrategy

      public Gzip.Builder clearCompressionStrategy()
       A value used for selecting the zlib compression strategy which is directly related to the
       characteristics of the content. Most of the time "DEFAULT_STRATEGY" will be the best choice,
       which is also the default value for the parameter, though there are situations when
       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.compression.gzip.compressor.v3.Gzip.CompressionStrategy compression_strategy = 3 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • hasWindowBits

      public 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 = 4 [(.validate.rules) = { ... }
      Specified by:
      hasWindowBits in interface GzipOrBuilder
      Returns:
      Whether the windowBits field is set.
    • getWindowBits

      public 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 = 4 [(.validate.rules) = { ... }
      Specified by:
      getWindowBits in interface GzipOrBuilder
      Returns:
      The windowBits.
    • setWindowBits

      public Gzip.Builder setWindowBits(com.google.protobuf.UInt32Value value)
       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 = 4 [(.validate.rules) = { ... }
    • setWindowBits

      public Gzip.Builder setWindowBits(com.google.protobuf.UInt32Value.Builder builderForValue)
       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 = 4 [(.validate.rules) = { ... }
    • mergeWindowBits

      public Gzip.Builder mergeWindowBits(com.google.protobuf.UInt32Value value)
       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 = 4 [(.validate.rules) = { ... }
    • clearWindowBits

      public Gzip.Builder clearWindowBits()
       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 = 4 [(.validate.rules) = { ... }
    • getWindowBitsBuilder

      public com.google.protobuf.UInt32Value.Builder getWindowBitsBuilder()
       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 = 4 [(.validate.rules) = { ... }
    • getWindowBitsOrBuilder

      public 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 = 4 [(.validate.rules) = { ... }
      Specified by:
      getWindowBitsOrBuilder in interface GzipOrBuilder
    • hasChunkSize

      public 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 = 5 [(.validate.rules) = { ... }
      Specified by:
      hasChunkSize in interface GzipOrBuilder
      Returns:
      Whether the chunkSize field is set.
    • getChunkSize

      public 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 = 5 [(.validate.rules) = { ... }
      Specified by:
      getChunkSize in interface GzipOrBuilder
      Returns:
      The chunkSize.
    • setChunkSize

      public Gzip.Builder setChunkSize(com.google.protobuf.UInt32Value value)
       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 = 5 [(.validate.rules) = { ... }
    • setChunkSize

      public Gzip.Builder setChunkSize(com.google.protobuf.UInt32Value.Builder builderForValue)
       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 = 5 [(.validate.rules) = { ... }
    • mergeChunkSize

      public Gzip.Builder mergeChunkSize(com.google.protobuf.UInt32Value value)
       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 = 5 [(.validate.rules) = { ... }
    • clearChunkSize

      public Gzip.Builder clearChunkSize()
       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 = 5 [(.validate.rules) = { ... }
    • getChunkSizeBuilder

      public com.google.protobuf.UInt32Value.Builder getChunkSizeBuilder()
       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 = 5 [(.validate.rules) = { ... }
    • getChunkSizeOrBuilder

      public 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 = 5 [(.validate.rules) = { ... }
      Specified by:
      getChunkSizeOrBuilder in interface GzipOrBuilder
    • setUnknownFields

      public final Gzip.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
    • mergeUnknownFields

      public final Gzip.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>