Class 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: 11]
     
    Protobuf type envoy.config.filter.http.gzip.v2.Gzip
    • Method Detail

      • 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>
      • 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
      • 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
      • 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
      • hasContentLength

        @Deprecated
        public boolean hasContentLength()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        .google.protobuf.UInt32Value content_length = 2 [deprecated = true];
        Specified by:
        hasContentLength in interface GzipOrBuilder
      • getContentLength

        @Deprecated
        public com.google.protobuf.UInt32Value getContentLength()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        .google.protobuf.UInt32Value content_length = 2 [deprecated = true];
        Specified by:
        getContentLength in interface GzipOrBuilder
      • setContentLength

        @Deprecated
        public Gzip.Builder setContentLength​(com.google.protobuf.UInt32Value value)
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        .google.protobuf.UInt32Value content_length = 2 [deprecated = true];
      • setContentLength

        @Deprecated
        public Gzip.Builder setContentLength​(com.google.protobuf.UInt32Value.Builder builderForValue)
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        .google.protobuf.UInt32Value content_length = 2 [deprecated = true];
      • mergeContentLength

        @Deprecated
        public Gzip.Builder mergeContentLength​(com.google.protobuf.UInt32Value value)
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        .google.protobuf.UInt32Value content_length = 2 [deprecated = true];
      • clearContentLength

        @Deprecated
        public Gzip.Builder clearContentLength()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        .google.protobuf.UInt32Value content_length = 2 [deprecated = true];
      • getContentLengthBuilder

        @Deprecated
        public com.google.protobuf.UInt32Value.Builder getContentLengthBuilder()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        .google.protobuf.UInt32Value content_length = 2 [deprecated = true];
      • getContentLengthOrBuilder

        @Deprecated
        public com.google.protobuf.UInt32ValueOrBuilder getContentLengthOrBuilder()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        .google.protobuf.UInt32Value content_length = 2 [deprecated = true];
        Specified by:
        getContentLengthOrBuilder 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" 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.config.filter.http.gzip.v2.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }
        Specified by:
        getCompressionLevelValue in interface GzipOrBuilder
      • 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" 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.config.filter.http.gzip.v2.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }
      • getCompressionLevel

        public 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.config.filter.http.gzip.v2.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }
        Specified by:
        getCompressionLevel in interface GzipOrBuilder
      • setCompressionLevel

        public Gzip.Builder setCompressionLevel​(Gzip.CompressionLevel.Enum value)
         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.config.filter.http.gzip.v2.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }
      • 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" 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.config.filter.http.gzip.v2.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }
      • 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" 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.config.filter.http.gzip.v2.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }
        Specified by:
        getCompressionStrategyValue in interface GzipOrBuilder
      • 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" 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.config.filter.http.gzip.v2.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }
      • 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" 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.config.filter.http.gzip.v2.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }
        Specified by:
        getCompressionStrategy in interface GzipOrBuilder
      • 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" 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.config.filter.http.gzip.v2.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }
      • 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" 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.config.filter.http.gzip.v2.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }
      • getContentTypeList

        @Deprecated
        public com.google.protobuf.ProtocolStringList getContentTypeList()
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
        Specified by:
        getContentTypeList in interface GzipOrBuilder
      • getContentTypeCount

        @Deprecated
        public int getContentTypeCount()
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
        Specified by:
        getContentTypeCount in interface GzipOrBuilder
      • getContentType

        @Deprecated
        public String getContentType​(int index)
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
        Specified by:
        getContentType in interface GzipOrBuilder
      • getContentTypeBytes

        @Deprecated
        public com.google.protobuf.ByteString getContentTypeBytes​(int index)
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
        Specified by:
        getContentTypeBytes in interface GzipOrBuilder
      • setContentType

        @Deprecated
        public Gzip.Builder setContentType​(int index,
                                           String value)
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
      • addContentType

        @Deprecated
        public Gzip.Builder addContentType​(String value)
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
      • addAllContentType

        @Deprecated
        public Gzip.Builder addAllContentType​(Iterable<String> values)
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
      • clearContentType

        @Deprecated
        public Gzip.Builder clearContentType()
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
      • addContentTypeBytes

        @Deprecated
        public Gzip.Builder addContentTypeBytes​(com.google.protobuf.ByteString value)
        Deprecated.
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml".
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        repeated string content_type = 6 [deprecated = true];
      • getDisableOnEtagHeader

        @Deprecated
        public boolean getDisableOnEtagHeader()
        Deprecated.
         If true, disables compression when the response contains an etag header. When it is false, the
         filter will preserve weak etags and remove the ones that require strong validation.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        bool disable_on_etag_header = 7 [deprecated = true];
        Specified by:
        getDisableOnEtagHeader in interface GzipOrBuilder
      • setDisableOnEtagHeader

        @Deprecated
        public Gzip.Builder setDisableOnEtagHeader​(boolean value)
        Deprecated.
         If true, disables compression when the response contains an etag header. When it is false, the
         filter will preserve weak etags and remove the ones that require strong validation.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        bool disable_on_etag_header = 7 [deprecated = true];
      • clearDisableOnEtagHeader

        @Deprecated
        public Gzip.Builder clearDisableOnEtagHeader()
        Deprecated.
         If true, disables compression when the response contains an etag header. When it is false, the
         filter will preserve weak etags and remove the ones that require strong validation.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        bool disable_on_etag_header = 7 [deprecated = true];
      • getRemoveAcceptEncodingHeader

        @Deprecated
        public boolean getRemoveAcceptEncodingHeader()
        Deprecated.
         If true, removes accept-encoding from the request headers before dispatching it to the upstream
         so that responses do not get compressed before reaching the filter.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        bool remove_accept_encoding_header = 8 [deprecated = true];
        Specified by:
        getRemoveAcceptEncodingHeader in interface GzipOrBuilder
      • setRemoveAcceptEncodingHeader

        @Deprecated
        public Gzip.Builder setRemoveAcceptEncodingHeader​(boolean value)
        Deprecated.
         If true, removes accept-encoding from the request headers before dispatching it to the upstream
         so that responses do not get compressed before reaching the filter.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        bool remove_accept_encoding_header = 8 [deprecated = true];
      • clearRemoveAcceptEncodingHeader

        @Deprecated
        public Gzip.Builder clearRemoveAcceptEncodingHeader()
        Deprecated.
         If true, removes accept-encoding from the request headers before dispatching it to the upstream
         so that responses do not get compressed before reaching the filter.
         .. attention:
            **This field is deprecated**. Set the `compressor` field instead.
         
        bool remove_accept_encoding_header = 8 [deprecated = true];
      • 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 = 9 [(.validate.rules) = { ... }
        Specified by:
        hasWindowBits in interface GzipOrBuilder
      • 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 = 9 [(.validate.rules) = { ... }
        Specified by:
        getWindowBits in interface GzipOrBuilder
      • 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 = 9 [(.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 = 9 [(.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 = 9 [(.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 = 9 [(.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 = 9 [(.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 = 9 [(.validate.rules) = { ... }
        Specified by:
        getWindowBitsOrBuilder in interface GzipOrBuilder
      • hasCompressor

        public boolean hasCompressor()
         Set of configuration parameters common for all compression filters. If this field is set then
         the fields `content_length`, `content_type`, `disable_on_etag_header` and
         `remove_accept_encoding_header` are ignored.
         
        .envoy.config.filter.http.compressor.v2.Compressor compressor = 10;
        Specified by:
        hasCompressor in interface GzipOrBuilder
      • getCompressor

        public Compressor getCompressor()
         Set of configuration parameters common for all compression filters. If this field is set then
         the fields `content_length`, `content_type`, `disable_on_etag_header` and
         `remove_accept_encoding_header` are ignored.
         
        .envoy.config.filter.http.compressor.v2.Compressor compressor = 10;
        Specified by:
        getCompressor in interface GzipOrBuilder
      • setCompressor

        public Gzip.Builder setCompressor​(Compressor value)
         Set of configuration parameters common for all compression filters. If this field is set then
         the fields `content_length`, `content_type`, `disable_on_etag_header` and
         `remove_accept_encoding_header` are ignored.
         
        .envoy.config.filter.http.compressor.v2.Compressor compressor = 10;
      • setCompressor

        public Gzip.Builder setCompressor​(Compressor.Builder builderForValue)
         Set of configuration parameters common for all compression filters. If this field is set then
         the fields `content_length`, `content_type`, `disable_on_etag_header` and
         `remove_accept_encoding_header` are ignored.
         
        .envoy.config.filter.http.compressor.v2.Compressor compressor = 10;
      • mergeCompressor

        public Gzip.Builder mergeCompressor​(Compressor value)
         Set of configuration parameters common for all compression filters. If this field is set then
         the fields `content_length`, `content_type`, `disable_on_etag_header` and
         `remove_accept_encoding_header` are ignored.
         
        .envoy.config.filter.http.compressor.v2.Compressor compressor = 10;
      • clearCompressor

        public Gzip.Builder clearCompressor()
         Set of configuration parameters common for all compression filters. If this field is set then
         the fields `content_length`, `content_type`, `disable_on_etag_header` and
         `remove_accept_encoding_header` are ignored.
         
        .envoy.config.filter.http.compressor.v2.Compressor compressor = 10;
      • getCompressorBuilder

        public Compressor.Builder getCompressorBuilder()
         Set of configuration parameters common for all compression filters. If this field is set then
         the fields `content_length`, `content_type`, `disable_on_etag_header` and
         `remove_accept_encoding_header` are ignored.
         
        .envoy.config.filter.http.compressor.v2.Compressor compressor = 10;
      • getCompressorOrBuilder

        public CompressorOrBuilder getCompressorOrBuilder()
         Set of configuration parameters common for all compression filters. If this field is set then
         the fields `content_length`, `content_type`, `disable_on_etag_header` and
         `remove_accept_encoding_header` are ignored.
         
        .envoy.config.filter.http.compressor.v2.Compressor compressor = 10;
        Specified by:
        getCompressorOrBuilder 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>