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| Modifier and Type | Method and Description |
|---|---|
Gzip.Builder |
addAllContentType(Iterable<String> values)
Deprecated.
|
Gzip.Builder |
addContentType(String value)
Deprecated.
|
Gzip.Builder |
addContentTypeBytes(com.google.protobuf.ByteString value)
Deprecated.
|
Gzip.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gzip |
build() |
Gzip |
buildPartial() |
Gzip.Builder |
clear() |
Gzip.Builder |
clearCompressionLevel()
A value used for selecting the zlib compression level.
|
Gzip.Builder |
clearCompressionStrategy()
A value used for selecting the zlib compression strategy which is directly related to the
characteristics of the content.
|
Gzip.Builder |
clearCompressor()
Set of configuration parameters common for all compression filters.
|
Gzip.Builder |
clearContentLength()
Deprecated.
|
Gzip.Builder |
clearContentType()
Deprecated.
|
Gzip.Builder |
clearDisableOnEtagHeader()
Deprecated.
|
Gzip.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Gzip.Builder |
clearMemoryLevel()
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
Gzip.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Gzip.Builder |
clearRemoveAcceptEncodingHeader()
Deprecated.
|
Gzip.Builder |
clearWindowBits()
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
|
Gzip.Builder |
clone() |
Gzip.CompressionLevel.Enum |
getCompressionLevel()
A value used for selecting the zlib compression level.
|
int |
getCompressionLevelValue()
A value used for selecting the zlib compression level.
|
Gzip.CompressionStrategy |
getCompressionStrategy()
A value used for selecting the zlib compression strategy which is directly related to the
characteristics of the content.
|
int |
getCompressionStrategyValue()
A value used for selecting the zlib compression strategy which is directly related to the
characteristics of the content.
|
Compressor |
getCompressor()
Set of configuration parameters common for all compression filters.
|
Compressor.Builder |
getCompressorBuilder()
Set of configuration parameters common for all compression filters.
|
CompressorOrBuilder |
getCompressorOrBuilder()
Set of configuration parameters common for all compression filters.
|
com.google.protobuf.UInt32Value |
getContentLength()
Deprecated.
|
com.google.protobuf.UInt32Value.Builder |
getContentLengthBuilder()
Deprecated.
|
com.google.protobuf.UInt32ValueOrBuilder |
getContentLengthOrBuilder()
Deprecated.
|
String |
getContentType(int index)
Deprecated.
|
com.google.protobuf.ByteString |
getContentTypeBytes(int index)
Deprecated.
|
int |
getContentTypeCount()
Deprecated.
|
com.google.protobuf.ProtocolStringList |
getContentTypeList()
Deprecated.
|
Gzip |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDisableOnEtagHeader()
Deprecated.
|
com.google.protobuf.UInt32Value |
getMemoryLevel()
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
com.google.protobuf.UInt32Value.Builder |
getMemoryLevelBuilder()
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMemoryLevelOrBuilder()
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
boolean |
getRemoveAcceptEncodingHeader()
Deprecated.
|
com.google.protobuf.UInt32Value |
getWindowBits()
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
|
com.google.protobuf.UInt32Value.Builder |
getWindowBitsBuilder()
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
|
com.google.protobuf.UInt32ValueOrBuilder |
getWindowBitsOrBuilder()
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
|
boolean |
hasCompressor()
Set of configuration parameters common for all compression filters.
|
boolean |
hasContentLength()
Deprecated.
|
boolean |
hasMemoryLevel()
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
boolean |
hasWindowBits()
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Gzip.Builder |
mergeCompressor(Compressor value)
Set of configuration parameters common for all compression filters.
|
Gzip.Builder |
mergeContentLength(com.google.protobuf.UInt32Value value)
Deprecated.
|
Gzip.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Gzip.Builder |
mergeFrom(Gzip other) |
Gzip.Builder |
mergeFrom(com.google.protobuf.Message other) |
Gzip.Builder |
mergeMemoryLevel(com.google.protobuf.UInt32Value value)
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
Gzip.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
Gzip.Builder |
setCompressionLevel(Gzip.CompressionLevel.Enum value)
A value used for selecting the zlib compression level.
|
Gzip.Builder |
setCompressionLevelValue(int value)
A value used for selecting the zlib compression level.
|
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.
|
Gzip.Builder |
setCompressionStrategyValue(int value)
A value used for selecting the zlib compression strategy which is directly related to the
characteristics of the content.
|
Gzip.Builder |
setCompressor(Compressor.Builder builderForValue)
Set of configuration parameters common for all compression filters.
|
Gzip.Builder |
setCompressor(Compressor value)
Set of configuration parameters common for all compression filters.
|
Gzip.Builder |
setContentLength(com.google.protobuf.UInt32Value.Builder builderForValue)
Deprecated.
|
Gzip.Builder |
setContentLength(com.google.protobuf.UInt32Value value)
Deprecated.
|
Gzip.Builder |
setContentType(int index,
String value)
Deprecated.
|
Gzip.Builder |
setDisableOnEtagHeader(boolean value)
Deprecated.
|
Gzip.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gzip.Builder |
setMemoryLevel(com.google.protobuf.UInt32Value.Builder builderForValue)
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
Gzip.Builder |
setMemoryLevel(com.google.protobuf.UInt32Value value)
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
Gzip.Builder |
setRemoveAcceptEncodingHeader(boolean value)
Deprecated.
|
Gzip.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Gzip.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
getAllFields, 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<Gzip.Builder>public Gzip.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.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<Gzip.Builder>public Gzip getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Gzip build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Gzip buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Gzip.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>public Gzip.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<Gzip.Builder>public Gzip.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>public Gzip.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>public Gzip.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<Gzip.Builder>public Gzip.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<Gzip.Builder>public Gzip.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gzip.Builder>public Gzip.Builder mergeFrom(Gzip other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>public Gzip.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<Gzip.Builder>IOExceptionpublic 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) = { ... }hasMemoryLevel in interface GzipOrBuilderpublic 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) = { ... }getMemoryLevel in interface GzipOrBuilderpublic 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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }getMemoryLevelOrBuilder in interface GzipOrBuilder@Deprecated public boolean hasContentLength()
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];hasContentLength in interface GzipOrBuilder@Deprecated public com.google.protobuf.UInt32Value getContentLength()
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];getContentLength in interface GzipOrBuilder@Deprecated public Gzip.Builder setContentLength(com.google.protobuf.UInt32Value value)
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];@Deprecated public Gzip.Builder setContentLength(com.google.protobuf.UInt32Value.Builder builderForValue)
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];@Deprecated public Gzip.Builder mergeContentLength(com.google.protobuf.UInt32Value value)
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];@Deprecated public Gzip.Builder clearContentLength()
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];@Deprecated public com.google.protobuf.UInt32Value.Builder getContentLengthBuilder()
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];@Deprecated public com.google.protobuf.UInt32ValueOrBuilder getContentLengthOrBuilder()
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 in interface GzipOrBuilderpublic 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) = { ... }getCompressionLevelValue in interface GzipOrBuilderpublic 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) = { ... }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) = { ... }getCompressionLevel in interface GzipOrBuilderpublic 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) = { ... }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) = { ... }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) = { ... }getCompressionStrategyValue in interface GzipOrBuilderpublic 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) = { ... }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) = { ... }getCompressionStrategy in interface GzipOrBuilderpublic 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) = { ... }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) = { ... }@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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [deprecated = true];getContentTypeList in interface GzipOrBuilder@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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [deprecated = true];getContentTypeCount in interface GzipOrBuilder@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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [deprecated = true];getContentType in interface GzipOrBuilder@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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [deprecated = true];getContentTypeBytes in interface GzipOrBuilder@Deprecated public Gzip.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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [deprecated = true];@Deprecated public Gzip.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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [deprecated = true];@Deprecated public Gzip.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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [deprecated = true];@Deprecated public Gzip.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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [deprecated = true];@Deprecated public Gzip.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".
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
repeated string content_type = 6 [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.
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
bool disable_on_etag_header = 7 [deprecated = true];getDisableOnEtagHeader in interface GzipOrBuilder@Deprecated public Gzip.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.
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
bool disable_on_etag_header = 7 [deprecated = true];@Deprecated public Gzip.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.
.. attention:
**This field is deprecated**. Set the `compressor` field instead.
bool disable_on_etag_header = 7 [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:
**This field is deprecated**. Set the `compressor` field instead.
bool remove_accept_encoding_header = 8 [deprecated = true];getRemoveAcceptEncodingHeader in interface GzipOrBuilder@Deprecated public Gzip.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:
**This field is deprecated**. Set the `compressor` field instead.
bool remove_accept_encoding_header = 8 [deprecated = true];@Deprecated public Gzip.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:
**This field is deprecated**. Set the `compressor` field instead.
bool remove_accept_encoding_header = 8 [deprecated = true];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) = { ... }hasWindowBits in interface GzipOrBuilderpublic 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) = { ... }getWindowBits in interface GzipOrBuilderpublic 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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }getWindowBitsOrBuilder in interface GzipOrBuilderpublic 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;hasCompressor in interface GzipOrBuilderpublic 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;getCompressor in interface GzipOrBuilderpublic 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;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;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;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;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;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;getCompressorOrBuilder in interface GzipOrBuilderpublic final Gzip.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>public final Gzip.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.