Class Compressor.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CompressorOrBuilder, Cloneable
    Enclosing class:
    Compressor

    public static final class Compressor.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>
    implements CompressorOrBuilder
     [#next-free-field: 9]
     
    Protobuf type envoy.extensions.filters.http.compressor.v3.Compressor
    • 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<Compressor.Builder>
      • clear

        public Compressor.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<Compressor.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<Compressor.Builder>
      • getDefaultInstanceForType

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

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

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

        public Compressor.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<Compressor.Builder>
      • setField

        public Compressor.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<Compressor.Builder>
      • clearField

        public Compressor.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<Compressor.Builder>
      • clearOneof

        public Compressor.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<Compressor.Builder>
      • setRepeatedField

        public Compressor.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<Compressor.Builder>
      • addRepeatedField

        public Compressor.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<Compressor.Builder>
      • mergeFrom

        public Compressor.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<Compressor.Builder>
      • isInitialized

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

        public Compressor.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<Compressor.Builder>
        Throws:
        IOException
      • hasContentLength

        @Deprecated
        public boolean hasContentLength()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        hasContentLength in interface CompressorOrBuilder
      • getContentLength

        @Deprecated
        public com.google.protobuf.UInt32Value getContentLength()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getContentLength in interface CompressorOrBuilder
      • setContentLength

        @Deprecated
        public Compressor.Builder setContentLength​(com.google.protobuf.UInt32Value value)
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • setContentLength

        @Deprecated
        public Compressor.Builder setContentLength​(com.google.protobuf.UInt32Value.Builder builderForValue)
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • mergeContentLength

        @Deprecated
        public Compressor.Builder mergeContentLength​(com.google.protobuf.UInt32Value value)
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • clearContentLength

        @Deprecated
        public Compressor.Builder clearContentLength()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • getContentLengthBuilder

        @Deprecated
        public com.google.protobuf.UInt32Value.Builder getContentLengthBuilder()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • getContentLengthOrBuilder

        @Deprecated
        public com.google.protobuf.UInt32ValueOrBuilder getContentLengthOrBuilder()
        Deprecated.
         Minimum response length, in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value content_length = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getContentLengthOrBuilder in interface CompressorOrBuilder
      • 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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getContentTypeList in interface CompressorOrBuilder
      • 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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getContentTypeCount in interface CompressorOrBuilder
      • 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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getContentType in interface CompressorOrBuilder
      • 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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getContentTypeBytes in interface CompressorOrBuilder
      • setContentType

        @Deprecated
        public Compressor.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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • addContentType

        @Deprecated
        public Compressor.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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • addAllContentType

        @Deprecated
        public Compressor.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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • clearContentType

        @Deprecated
        public Compressor.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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • addContentTypeBytes

        @Deprecated
        public Compressor.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"
         and their synonyms.
         
        repeated string content_type = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • 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.
         
        bool disable_on_etag_header = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getDisableOnEtagHeader in interface CompressorOrBuilder
      • setDisableOnEtagHeader

        @Deprecated
        public Compressor.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.
         
        bool disable_on_etag_header = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • clearDisableOnEtagHeader

        @Deprecated
        public Compressor.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.
         
        bool disable_on_etag_header = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • 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::
            To avoid interfering with other compression filters in the same chain use this option in
            the filter closest to the upstream.
         
        bool remove_accept_encoding_header = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getRemoveAcceptEncodingHeader in interface CompressorOrBuilder
      • setRemoveAcceptEncodingHeader

        @Deprecated
        public Compressor.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::
            To avoid interfering with other compression filters in the same chain use this option in
            the filter closest to the upstream.
         
        bool remove_accept_encoding_header = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • clearRemoveAcceptEncodingHeader

        @Deprecated
        public Compressor.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::
            To avoid interfering with other compression filters in the same chain use this option in
            the filter closest to the upstream.
         
        bool remove_accept_encoding_header = 4 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • hasRuntimeEnabled

        @Deprecated
        public boolean hasRuntimeEnabled()
        Deprecated.
         Runtime flag that controls whether the filter is enabled or not. If set to false, the
         filter will operate as a pass-through filter. If not specified, defaults to enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        hasRuntimeEnabled in interface CompressorOrBuilder
      • getRuntimeEnabled

        @Deprecated
        public RuntimeFeatureFlag getRuntimeEnabled()
        Deprecated.
         Runtime flag that controls whether the filter is enabled or not. If set to false, the
         filter will operate as a pass-through filter. If not specified, defaults to enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getRuntimeEnabled in interface CompressorOrBuilder
      • setRuntimeEnabled

        @Deprecated
        public Compressor.Builder setRuntimeEnabled​(RuntimeFeatureFlag value)
        Deprecated.
         Runtime flag that controls whether the filter is enabled or not. If set to false, the
         filter will operate as a pass-through filter. If not specified, defaults to enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • setRuntimeEnabled

        @Deprecated
        public Compressor.Builder setRuntimeEnabled​(RuntimeFeatureFlag.Builder builderForValue)
        Deprecated.
         Runtime flag that controls whether the filter is enabled or not. If set to false, the
         filter will operate as a pass-through filter. If not specified, defaults to enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • mergeRuntimeEnabled

        @Deprecated
        public Compressor.Builder mergeRuntimeEnabled​(RuntimeFeatureFlag value)
        Deprecated.
         Runtime flag that controls whether the filter is enabled or not. If set to false, the
         filter will operate as a pass-through filter. If not specified, defaults to enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • clearRuntimeEnabled

        @Deprecated
        public Compressor.Builder clearRuntimeEnabled()
        Deprecated.
         Runtime flag that controls whether the filter is enabled or not. If set to false, the
         filter will operate as a pass-through filter. If not specified, defaults to enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • getRuntimeEnabledBuilder

        @Deprecated
        public RuntimeFeatureFlag.Builder getRuntimeEnabledBuilder()
        Deprecated.
         Runtime flag that controls whether the filter is enabled or not. If set to false, the
         filter will operate as a pass-through filter. If not specified, defaults to enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      • getRuntimeEnabledOrBuilder

        @Deprecated
        public RuntimeFeatureFlagOrBuilder getRuntimeEnabledOrBuilder()
        Deprecated.
         Runtime flag that controls whether the filter is enabled or not. If set to false, the
         filter will operate as a pass-through filter. If not specified, defaults to enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag runtime_enabled = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getRuntimeEnabledOrBuilder in interface CompressorOrBuilder
      • hasCompressorLibrary

        public boolean hasCompressorLibrary()
         A compressor library to use for compression. Currently only
         :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.compressor.v3.Gzip>`
         is included in Envoy.
         [#extension-category: envoy.compression.compressor]
         
        .envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }
        Specified by:
        hasCompressorLibrary in interface CompressorOrBuilder
      • getCompressorLibrary

        public TypedExtensionConfig getCompressorLibrary()
         A compressor library to use for compression. Currently only
         :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.compressor.v3.Gzip>`
         is included in Envoy.
         [#extension-category: envoy.compression.compressor]
         
        .envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }
        Specified by:
        getCompressorLibrary in interface CompressorOrBuilder
      • setCompressorLibrary

        public Compressor.Builder setCompressorLibrary​(TypedExtensionConfig value)
         A compressor library to use for compression. Currently only
         :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.compressor.v3.Gzip>`
         is included in Envoy.
         [#extension-category: envoy.compression.compressor]
         
        .envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }
      • setCompressorLibrary

        public Compressor.Builder setCompressorLibrary​(TypedExtensionConfig.Builder builderForValue)
         A compressor library to use for compression. Currently only
         :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.compressor.v3.Gzip>`
         is included in Envoy.
         [#extension-category: envoy.compression.compressor]
         
        .envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }
      • mergeCompressorLibrary

        public Compressor.Builder mergeCompressorLibrary​(TypedExtensionConfig value)
         A compressor library to use for compression. Currently only
         :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.compressor.v3.Gzip>`
         is included in Envoy.
         [#extension-category: envoy.compression.compressor]
         
        .envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }
      • clearCompressorLibrary

        public Compressor.Builder clearCompressorLibrary()
         A compressor library to use for compression. Currently only
         :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.compressor.v3.Gzip>`
         is included in Envoy.
         [#extension-category: envoy.compression.compressor]
         
        .envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }
      • getCompressorLibraryBuilder

        public TypedExtensionConfig.Builder getCompressorLibraryBuilder()
         A compressor library to use for compression. Currently only
         :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.compressor.v3.Gzip>`
         is included in Envoy.
         [#extension-category: envoy.compression.compressor]
         
        .envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }
      • getCompressorLibraryOrBuilder

        public TypedExtensionConfigOrBuilder getCompressorLibraryOrBuilder()
         A compressor library to use for compression. Currently only
         :ref:`envoy.compression.gzip.compressor<envoy_v3_api_msg_extensions.compression.gzip.compressor.v3.Gzip>`
         is included in Envoy.
         [#extension-category: envoy.compression.compressor]
         
        .envoy.config.core.v3.TypedExtensionConfig compressor_library = 6 [(.validate.rules) = { ... }
        Specified by:
        getCompressorLibraryOrBuilder in interface CompressorOrBuilder
      • hasRequestDirectionConfig

        public boolean hasRequestDirectionConfig()
         Configuration for request compression. Compression is disabled by default if left empty.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;
        Specified by:
        hasRequestDirectionConfig in interface CompressorOrBuilder
      • setRequestDirectionConfig

        public Compressor.Builder setRequestDirectionConfig​(Compressor.RequestDirectionConfig value)
         Configuration for request compression. Compression is disabled by default if left empty.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;
      • setRequestDirectionConfig

        public Compressor.Builder setRequestDirectionConfig​(Compressor.RequestDirectionConfig.Builder builderForValue)
         Configuration for request compression. Compression is disabled by default if left empty.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;
      • mergeRequestDirectionConfig

        public Compressor.Builder mergeRequestDirectionConfig​(Compressor.RequestDirectionConfig value)
         Configuration for request compression. Compression is disabled by default if left empty.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;
      • clearRequestDirectionConfig

        public Compressor.Builder clearRequestDirectionConfig()
         Configuration for request compression. Compression is disabled by default if left empty.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;
      • getRequestDirectionConfigBuilder

        public Compressor.RequestDirectionConfig.Builder getRequestDirectionConfigBuilder()
         Configuration for request compression. Compression is disabled by default if left empty.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;
      • hasResponseDirectionConfig

        public boolean hasResponseDirectionConfig()
         Configuration for response compression. Compression is enabled by default if left empty.
         .. attention::
            If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
            such as `content_length`, `content_type`, `disable_on_etag_header`,
            `remove_accept_encoding_header` and `runtime_enabled`, are ignored.
            Also all the statistics related to response compression will be rooted in
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
            instead of
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;
        Specified by:
        hasResponseDirectionConfig in interface CompressorOrBuilder
      • getResponseDirectionConfig

        public Compressor.ResponseDirectionConfig getResponseDirectionConfig()
         Configuration for response compression. Compression is enabled by default if left empty.
         .. attention::
            If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
            such as `content_length`, `content_type`, `disable_on_etag_header`,
            `remove_accept_encoding_header` and `runtime_enabled`, are ignored.
            Also all the statistics related to response compression will be rooted in
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
            instead of
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;
        Specified by:
        getResponseDirectionConfig in interface CompressorOrBuilder
      • setResponseDirectionConfig

        public Compressor.Builder setResponseDirectionConfig​(Compressor.ResponseDirectionConfig value)
         Configuration for response compression. Compression is enabled by default if left empty.
         .. attention::
            If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
            such as `content_length`, `content_type`, `disable_on_etag_header`,
            `remove_accept_encoding_header` and `runtime_enabled`, are ignored.
            Also all the statistics related to response compression will be rooted in
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
            instead of
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;
      • setResponseDirectionConfig

        public Compressor.Builder setResponseDirectionConfig​(Compressor.ResponseDirectionConfig.Builder builderForValue)
         Configuration for response compression. Compression is enabled by default if left empty.
         .. attention::
            If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
            such as `content_length`, `content_type`, `disable_on_etag_header`,
            `remove_accept_encoding_header` and `runtime_enabled`, are ignored.
            Also all the statistics related to response compression will be rooted in
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
            instead of
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;
      • mergeResponseDirectionConfig

        public Compressor.Builder mergeResponseDirectionConfig​(Compressor.ResponseDirectionConfig value)
         Configuration for response compression. Compression is enabled by default if left empty.
         .. attention::
            If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
            such as `content_length`, `content_type`, `disable_on_etag_header`,
            `remove_accept_encoding_header` and `runtime_enabled`, are ignored.
            Also all the statistics related to response compression will be rooted in
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
            instead of
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;
      • clearResponseDirectionConfig

        public Compressor.Builder clearResponseDirectionConfig()
         Configuration for response compression. Compression is enabled by default if left empty.
         .. attention::
            If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
            such as `content_length`, `content_type`, `disable_on_etag_header`,
            `remove_accept_encoding_header` and `runtime_enabled`, are ignored.
            Also all the statistics related to response compression will be rooted in
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
            instead of
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;
      • getResponseDirectionConfigBuilder

        public Compressor.ResponseDirectionConfig.Builder getResponseDirectionConfigBuilder()
         Configuration for response compression. Compression is enabled by default if left empty.
         .. attention::
            If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
            such as `content_length`, `content_type`, `disable_on_etag_header`,
            `remove_accept_encoding_header` and `runtime_enabled`, are ignored.
            Also all the statistics related to response compression will be rooted in
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
            instead of
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;
      • getResponseDirectionConfigOrBuilder

        public Compressor.ResponseDirectionConfigOrBuilder getResponseDirectionConfigOrBuilder()
         Configuration for response compression. Compression is enabled by default if left empty.
         .. attention::
            If the field is not empty then the duplicate deprecated fields of the `Compressor` message,
            such as `content_length`, `content_type`, `disable_on_etag_header`,
            `remove_accept_encoding_header` and `runtime_enabled`, are ignored.
            Also all the statistics related to response compression will be rooted in
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.response.*`
            instead of
            `<stat_prefix>.compressor.<compressor_library.name>.<compressor_library_stat_prefix>.*`.
         
        .envoy.extensions.filters.http.compressor.v3.Compressor.ResponseDirectionConfig response_direction_config = 8;
        Specified by:
        getResponseDirectionConfigOrBuilder in interface CompressorOrBuilder
      • setUnknownFields

        public final Compressor.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<Compressor.Builder>
      • mergeUnknownFields

        public final Compressor.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<Compressor.Builder>