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.CompressorgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Compressor build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Compressor buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Compressor.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compressor.Builder>public Compressor.Builder mergeFrom(Compressor other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public Compressor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compressor.Builder>IOException@Deprecated public boolean hasContentLength()
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true];hasContentLength in interface CompressorOrBuilder@Deprecated public com.google.protobuf.UInt32Value getContentLength()
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true];getContentLength in interface CompressorOrBuilder@Deprecated public Compressor.Builder setContentLength(com.google.protobuf.UInt32Value value)
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true];@Deprecated public Compressor.Builder setContentLength(com.google.protobuf.UInt32Value.Builder builderForValue)
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true];@Deprecated public Compressor.Builder mergeContentLength(com.google.protobuf.UInt32Value value)
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true];@Deprecated public Compressor.Builder clearContentLength()
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true];@Deprecated public com.google.protobuf.UInt32Value.Builder getContentLengthBuilder()
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true];@Deprecated public com.google.protobuf.UInt32ValueOrBuilder getContentLengthOrBuilder()
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 1 [deprecated = true];getContentLengthOrBuilder in interface CompressorOrBuilder@Deprecated public com.google.protobuf.ProtocolStringList getContentTypeList()
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];getContentTypeList in interface CompressorOrBuilder@Deprecated public int getContentTypeCount()
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];getContentTypeCount in interface CompressorOrBuilder@Deprecated public String getContentType(int index)
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];getContentType in interface CompressorOrBuilder@Deprecated public com.google.protobuf.ByteString getContentTypeBytes(int index)
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];getContentTypeBytes in interface CompressorOrBuilder@Deprecated public Compressor.Builder setContentType(int index, String value)
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];@Deprecated public Compressor.Builder addContentType(String value)
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];@Deprecated public Compressor.Builder addAllContentType(Iterable<String> values)
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];@Deprecated public Compressor.Builder clearContentType()
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];@Deprecated public Compressor.Builder addContentTypeBytes(com.google.protobuf.ByteString value)
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];@Deprecated public boolean getDisableOnEtagHeader()
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];getDisableOnEtagHeader in interface CompressorOrBuilder@Deprecated public Compressor.Builder setDisableOnEtagHeader(boolean value)
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];@Deprecated public Compressor.Builder clearDisableOnEtagHeader()
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];@Deprecated public boolean getRemoveAcceptEncodingHeader()
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];getRemoveAcceptEncodingHeader in interface CompressorOrBuilder@Deprecated public Compressor.Builder setRemoveAcceptEncodingHeader(boolean value)
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];@Deprecated public Compressor.Builder clearRemoveAcceptEncodingHeader()
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];@Deprecated public boolean hasRuntimeEnabled()
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];hasRuntimeEnabled in interface CompressorOrBuilder@Deprecated public RuntimeFeatureFlag getRuntimeEnabled()
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];getRuntimeEnabled in interface CompressorOrBuilder@Deprecated public Compressor.Builder setRuntimeEnabled(RuntimeFeatureFlag value)
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];@Deprecated public Compressor.Builder setRuntimeEnabled(RuntimeFeatureFlag.Builder builderForValue)
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];@Deprecated public Compressor.Builder mergeRuntimeEnabled(RuntimeFeatureFlag value)
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];@Deprecated public Compressor.Builder clearRuntimeEnabled()
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];@Deprecated public RuntimeFeatureFlag.Builder getRuntimeEnabledBuilder()
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];@Deprecated public RuntimeFeatureFlagOrBuilder getRuntimeEnabledOrBuilder()
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];getRuntimeEnabledOrBuilder in interface CompressorOrBuilderpublic boolean hasCompressorLibrary()
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6;hasCompressorLibrary in interface CompressorOrBuilderpublic TypedExtensionConfig getCompressorLibrary()
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6;getCompressorLibrary in interface CompressorOrBuilderpublic Compressor.Builder setCompressorLibrary(TypedExtensionConfig value)
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6;public Compressor.Builder setCompressorLibrary(TypedExtensionConfig.Builder builderForValue)
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6;public Compressor.Builder mergeCompressorLibrary(TypedExtensionConfig value)
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6;public Compressor.Builder clearCompressorLibrary()
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6;public TypedExtensionConfig.Builder getCompressorLibraryBuilder()
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6;public TypedExtensionConfigOrBuilder getCompressorLibraryOrBuilder()
A compressor library to use for compression. Currently only :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.compressor.v3.Gzip>` is included in Envoy. This field is ignored if used in the context of the gzip http-filter, but is mandatory otherwise.
.envoy.config.core.v3.TypedExtensionConfig compressor_library = 6;getCompressorLibraryOrBuilder in interface CompressorOrBuilderpublic 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;hasRequestDirectionConfig in interface CompressorOrBuilderpublic Compressor.RequestDirectionConfig getRequestDirectionConfig()
Configuration for request compression. Compression is disabled by default if left empty.
.envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;getRequestDirectionConfig in interface CompressorOrBuilderpublic 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;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;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;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;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;public Compressor.RequestDirectionConfigOrBuilder getRequestDirectionConfigOrBuilder()
Configuration for request compression. Compression is disabled by default if left empty.
.envoy.extensions.filters.http.compressor.v3.Compressor.RequestDirectionConfig request_direction_config = 7;getRequestDirectionConfigOrBuilder in interface CompressorOrBuilderpublic 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;hasResponseDirectionConfig in interface CompressorOrBuilderpublic 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;getResponseDirectionConfig in interface CompressorOrBuilderpublic 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;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;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;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;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;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;getResponseDirectionConfigOrBuilder in interface CompressorOrBuilderpublic final Compressor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>public final Compressor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Compressor.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.