public static final class GzipOuterClass.Gzip.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GzipOuterClass.Gzip.Builder> implements GzipOuterClass.GzipOrBuilder
envoy.config.filter.http.gzip.v2.Gzip| Modifier and Type | Method and Description |
|---|---|
GzipOuterClass.Gzip.Builder |
addAllContentType(Iterable<String> values)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
GzipOuterClass.Gzip.Builder |
addContentType(String value)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
GzipOuterClass.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.
|
GzipOuterClass.Gzip.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GzipOuterClass.Gzip |
build() |
GzipOuterClass.Gzip |
buildPartial() |
GzipOuterClass.Gzip.Builder |
clear() |
GzipOuterClass.Gzip.Builder |
clearCompressionLevel()
A value used for selecting the zlib compression level.
|
GzipOuterClass.Gzip.Builder |
clearCompressionStrategy()
A value used for selecting the zlib compression strategy which is directly related to the
characteristics of the content.
|
GzipOuterClass.Gzip.Builder |
clearContentLength()
Minimum response length, in bytes, which will trigger compression.
|
GzipOuterClass.Gzip.Builder |
clearContentType()
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
GzipOuterClass.Gzip.Builder |
clearDisableOnEtagHeader()
If true, disables compression when the response contains an etag header.
|
GzipOuterClass.Gzip.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GzipOuterClass.Gzip.Builder |
clearMemoryLevel()
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
GzipOuterClass.Gzip.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GzipOuterClass.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.
|
GzipOuterClass.Gzip.Builder |
clearWindowBits()
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.
|
GzipOuterClass.Gzip.Builder |
clone() |
GzipOuterClass.Gzip.CompressionLevel.Enum |
getCompressionLevel()
A value used for selecting the zlib compression level.
|
int |
getCompressionLevelValue()
A value used for selecting the zlib compression level.
|
GzipOuterClass.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.
|
com.google.protobuf.UInt32Value |
getContentLength()
Minimum response length, in bytes, which will trigger compression.
|
com.google.protobuf.UInt32Value.Builder |
getContentLengthBuilder()
Minimum response length, in bytes, which will trigger compression.
|
com.google.protobuf.UInt32ValueOrBuilder |
getContentLengthOrBuilder()
Minimum response length, in bytes, which will trigger compression.
|
String |
getContentType(int index)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
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.
|
int |
getContentTypeCount()
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
com.google.protobuf.ProtocolStringList |
getContentTypeList()
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
GzipOuterClass.Gzip |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDisableOnEtagHeader()
If true, disables compression when the response contains an etag header.
|
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()
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.
|
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 |
hasContentLength()
Minimum response length, in bytes, which will trigger compression.
|
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() |
GzipOuterClass.Gzip.Builder |
mergeContentLength(com.google.protobuf.UInt32Value value)
Minimum response length, in bytes, which will trigger compression.
|
GzipOuterClass.Gzip.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GzipOuterClass.Gzip.Builder |
mergeFrom(GzipOuterClass.Gzip other) |
GzipOuterClass.Gzip.Builder |
mergeFrom(com.google.protobuf.Message other) |
GzipOuterClass.Gzip.Builder |
mergeMemoryLevel(com.google.protobuf.UInt32Value value)
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
GzipOuterClass.Gzip.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GzipOuterClass.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.
|
GzipOuterClass.Gzip.Builder |
setCompressionLevel(GzipOuterClass.Gzip.CompressionLevel.Enum value)
A value used for selecting the zlib compression level.
|
GzipOuterClass.Gzip.Builder |
setCompressionLevelValue(int value)
A value used for selecting the zlib compression level.
|
GzipOuterClass.Gzip.Builder |
setCompressionStrategy(GzipOuterClass.Gzip.CompressionStrategy value)
A value used for selecting the zlib compression strategy which is directly related to the
characteristics of the content.
|
GzipOuterClass.Gzip.Builder |
setCompressionStrategyValue(int value)
A value used for selecting the zlib compression strategy which is directly related to the
characteristics of the content.
|
GzipOuterClass.Gzip.Builder |
setContentLength(com.google.protobuf.UInt32Value.Builder builderForValue)
Minimum response length, in bytes, which will trigger compression.
|
GzipOuterClass.Gzip.Builder |
setContentLength(com.google.protobuf.UInt32Value value)
Minimum response length, in bytes, which will trigger compression.
|
GzipOuterClass.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.
|
GzipOuterClass.Gzip.Builder |
setDisableOnEtagHeader(boolean value)
If true, disables compression when the response contains an etag header.
|
GzipOuterClass.Gzip.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GzipOuterClass.Gzip.Builder |
setMemoryLevel(com.google.protobuf.UInt32Value.Builder builderForValue)
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
GzipOuterClass.Gzip.Builder |
setMemoryLevel(com.google.protobuf.UInt32Value value)
Value from 1 to 9 that controls the amount of internal memory used by zlib.
|
GzipOuterClass.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.
|
GzipOuterClass.Gzip.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GzipOuterClass.Gzip.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GzipOuterClass.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.
|
GzipOuterClass.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<GzipOuterClass.Gzip.Builder>public GzipOuterClass.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<GzipOuterClass.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<GzipOuterClass.Gzip.Builder>public GzipOuterClass.Gzip getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GzipOuterClass.Gzip build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GzipOuterClass.Gzip buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GzipOuterClass.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<GzipOuterClass.Gzip.Builder>public GzipOuterClass.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<GzipOuterClass.Gzip.Builder>public GzipOuterClass.Gzip.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GzipOuterClass.Gzip.Builder>public GzipOuterClass.Gzip.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GzipOuterClass.Gzip.Builder>public GzipOuterClass.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<GzipOuterClass.Gzip.Builder>public GzipOuterClass.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<GzipOuterClass.Gzip.Builder>public GzipOuterClass.Gzip.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GzipOuterClass.Gzip.Builder>public GzipOuterClass.Gzip.Builder mergeFrom(GzipOuterClass.Gzip other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GzipOuterClass.Gzip.Builder>public GzipOuterClass.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<GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.GzipOrBuilderpublic boolean hasContentLength()
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 2 [(.validate.rules) = { ... }hasContentLength in interface GzipOuterClass.GzipOrBuilderpublic com.google.protobuf.UInt32Value getContentLength()
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 2 [(.validate.rules) = { ... }getContentLength in interface GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.Gzip.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 = 2 [(.validate.rules) = { ... }public GzipOuterClass.Gzip.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 = 2 [(.validate.rules) = { ... }public GzipOuterClass.Gzip.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 = 2 [(.validate.rules) = { ... }public GzipOuterClass.Gzip.Builder clearContentLength()
Minimum response length, in bytes, which will trigger compression. The default value is 30.
.google.protobuf.UInt32Value content_length = 2 [(.validate.rules) = { ... }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 = 2 [(.validate.rules) = { ... }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 = 2 [(.validate.rules) = { ... }getContentLengthOrBuilder in interface GzipOuterClass.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 GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.Gzip.Builder setCompressionLevel(GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.Gzip.Builder setCompressionStrategy(GzipOuterClass.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 GzipOuterClass.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) = { ... }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".
repeated string content_type = 6 [(.validate.rules) = { ... }getContentTypeList in interface GzipOuterClass.GzipOrBuilderpublic 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".
repeated string content_type = 6 [(.validate.rules) = { ... }getContentTypeCount in interface GzipOuterClass.GzipOrBuilderpublic 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".
repeated string content_type = 6 [(.validate.rules) = { ... }getContentType in interface GzipOuterClass.GzipOrBuilderpublic 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".
repeated string content_type = 6 [(.validate.rules) = { ... }getContentTypeBytes in interface GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.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".
repeated string content_type = 6 [(.validate.rules) = { ... }public GzipOuterClass.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".
repeated string content_type = 6 [(.validate.rules) = { ... }public GzipOuterClass.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".
repeated string content_type = 6 [(.validate.rules) = { ... }public GzipOuterClass.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".
repeated string content_type = 6 [(.validate.rules) = { ... }public GzipOuterClass.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".
repeated string content_type = 6 [(.validate.rules) = { ... }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 = 7;getDisableOnEtagHeader in interface GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.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.
bool disable_on_etag_header = 7;public GzipOuterClass.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.
bool disable_on_etag_header = 7;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.
bool remove_accept_encoding_header = 8;getRemoveAcceptEncodingHeader in interface GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.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.
bool remove_accept_encoding_header = 8;public GzipOuterClass.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.
bool remove_accept_encoding_header = 8;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 GzipOuterClass.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 GzipOuterClass.GzipOrBuilderpublic GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.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 GzipOuterClass.GzipOrBuilderpublic final GzipOuterClass.Gzip.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GzipOuterClass.Gzip.Builder>public final GzipOuterClass.Gzip.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GzipOuterClass.Gzip.Builder>Copyright © 2018 The Envoy Project. All rights reserved.