Class Gzip.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
io.envoyproxy.envoy.config.filter.http.gzip.v2.Gzip.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GzipOrBuilder,Cloneable
- Enclosing class:
- Gzip
public static final class Gzip.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
implements GzipOrBuilder
[#next-free-field: 11]Protobuf type
envoy.config.filter.http.gzip.v2.Gzip-
Method Summary
Modifier and TypeMethodDescriptionaddAllContentType(Iterable<String> values) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.addContentType(String value) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.addContentTypeBytes(com.google.protobuf.ByteString value) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()A value used for selecting the zlib compression level.A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.Set of configuration parameters common for all compression filters.Deprecated.Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.Deprecated.envoy.config.filter.http.gzip.v2.Gzip.disable_on_etag_header is deprecated.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Value from 1 to 9 that controls the amount of internal memory used by zlib.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.remove_accept_encoding_header is deprecated.Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.clone()A value used for selecting the zlib compression level.intA value used for selecting the zlib compression level.A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.intA value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.Set of configuration parameters common for all compression filters.Set of configuration parameters common for all compression filters.Set of configuration parameters common for all compression filters.com.google.protobuf.UInt32ValueDeprecated.envoy.config.filter.http.gzip.v2.Gzip.content_length is deprecated.com.google.protobuf.UInt32Value.BuilderDeprecated.com.google.protobuf.UInt32ValueOrBuilderDeprecated.getContentType(int index) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.com.google.protobuf.ByteStringgetContentTypeBytes(int index) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.intDeprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.com.google.protobuf.ProtocolStringListDeprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanDeprecated.envoy.config.filter.http.gzip.v2.Gzip.disable_on_etag_header is deprecated.com.google.protobuf.UInt32ValueValue from 1 to 9 that controls the amount of internal memory used by zlib.com.google.protobuf.UInt32Value.BuilderValue from 1 to 9 that controls the amount of internal memory used by zlib.com.google.protobuf.UInt32ValueOrBuilderValue from 1 to 9 that controls the amount of internal memory used by zlib.booleanDeprecated.envoy.config.filter.http.gzip.v2.Gzip.remove_accept_encoding_header is deprecated.com.google.protobuf.UInt32ValueValue from 9 to 15 that represents the base two logarithmic of the compressor's window size.com.google.protobuf.UInt32Value.BuilderValue from 9 to 15 that represents the base two logarithmic of the compressor's window size.com.google.protobuf.UInt32ValueOrBuilderValue from 9 to 15 that represents the base two logarithmic of the compressor's window size.booleanSet of configuration parameters common for all compression filters.booleanDeprecated.envoy.config.filter.http.gzip.v2.Gzip.content_length is deprecated.booleanValue from 1 to 9 that controls the amount of internal memory used by zlib.booleanValue from 9 to 15 that represents the base two logarithmic of the compressor's window size.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCompressor(Compressor value) Set of configuration parameters common for all compression filters.mergeContentLength(com.google.protobuf.UInt32Value value) Deprecated.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMemoryLevel(com.google.protobuf.UInt32Value value) Value from 1 to 9 that controls the amount of internal memory used by zlib.final Gzip.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeWindowBits(com.google.protobuf.UInt32Value value) Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.A value used for selecting the zlib compression level.setCompressionLevelValue(int value) A value used for selecting the zlib compression level.A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.setCompressionStrategyValue(int value) A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.setCompressor(Compressor value) Set of configuration parameters common for all compression filters.setCompressor(Compressor.Builder builderForValue) Set of configuration parameters common for all compression filters.setContentLength(com.google.protobuf.UInt32Value value) Deprecated.setContentLength(com.google.protobuf.UInt32Value.Builder builderForValue) Deprecated.setContentType(int index, String value) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated.setDisableOnEtagHeader(boolean value) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.disable_on_etag_header is deprecated.setMemoryLevel(com.google.protobuf.UInt32Value value) Value from 1 to 9 that controls the amount of internal memory used by zlib.setMemoryLevel(com.google.protobuf.UInt32Value.Builder builderForValue) Value from 1 to 9 that controls the amount of internal memory used by zlib.setRemoveAcceptEncodingHeader(boolean value) Deprecated.envoy.config.filter.http.gzip.v2.Gzip.remove_accept_encoding_header is deprecated.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Gzip.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWindowBits(com.google.protobuf.UInt32Value value) Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.setWindowBits(com.google.protobuf.UInt32Value.Builder builderForValue) Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
setRepeatedField
public Gzip.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
addRepeatedField
public Gzip.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Gzip.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
mergeFrom
public Gzip.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Gzip.Builder>- Throws:
IOException
-
hasMemoryLevel
public boolean hasMemoryLevel()Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values use more memory, but are faster and produce better compression results. The default value is 5.
.google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... }- Specified by:
hasMemoryLevelin interfaceGzipOrBuilder- Returns:
- Whether the memoryLevel field is set.
-
getMemoryLevel
public com.google.protobuf.UInt32Value getMemoryLevel()Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values use more memory, but are faster and produce better compression results. The default value is 5.
.google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... }- Specified by:
getMemoryLevelin interfaceGzipOrBuilder- Returns:
- The memoryLevel.
-
setMemoryLevel
Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values use more memory, but are faster and produce better compression results. The default value is 5.
.google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... } -
setMemoryLevel
Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values use more memory, but are faster and produce better compression results. The default value is 5.
.google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... } -
mergeMemoryLevel
Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values use more memory, but are faster and produce better compression results. The default value is 5.
.google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... } -
clearMemoryLevel
Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values use more memory, but are faster and produce better compression results. The default value is 5.
.google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... } -
getMemoryLevelBuilder
public com.google.protobuf.UInt32Value.Builder getMemoryLevelBuilder()Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values use more memory, but are faster and produce better compression results. The default value is 5.
.google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... } -
getMemoryLevelOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMemoryLevelOrBuilder()Value from 1 to 9 that controls the amount of internal memory used by zlib. Higher values use more memory, but are faster and produce better compression results. The default value is 5.
.google.protobuf.UInt32Value memory_level = 1 [(.validate.rules) = { ... }- Specified by:
getMemoryLevelOrBuilderin interfaceGzipOrBuilder
-
hasContentLength
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_length is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=46Minimum response length, in bytes, which will trigger compression. The default value is 30. .. attention: **This field is deprecated**. Set the `compressor` field instead..google.protobuf.UInt32Value content_length = 2 [deprecated = true];- Specified by:
hasContentLengthin interfaceGzipOrBuilder- Returns:
- Whether the contentLength field is set.
-
getContentLength
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_length is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=46Minimum response length, in bytes, which will trigger compression. The default value is 30. .. attention: **This field is deprecated**. Set the `compressor` field instead..google.protobuf.UInt32Value content_length = 2 [deprecated = true];- Specified by:
getContentLengthin interfaceGzipOrBuilder- Returns:
- The contentLength.
-
setContentLength
Deprecated.Minimum response length, in bytes, which will trigger compression. The default value is 30. .. attention: **This field is deprecated**. Set the `compressor` field instead..google.protobuf.UInt32Value content_length = 2 [deprecated = true]; -
setContentLength
@Deprecated public Gzip.Builder setContentLength(com.google.protobuf.UInt32Value.Builder builderForValue) Deprecated.Minimum response length, in bytes, which will trigger compression. The default value is 30. .. attention: **This field is deprecated**. Set the `compressor` field instead..google.protobuf.UInt32Value content_length = 2 [deprecated = true]; -
mergeContentLength
Deprecated.Minimum response length, in bytes, which will trigger compression. The default value is 30. .. attention: **This field is deprecated**. Set the `compressor` field instead..google.protobuf.UInt32Value content_length = 2 [deprecated = true]; -
clearContentLength
Deprecated.Minimum response length, in bytes, which will trigger compression. The default value is 30. .. attention: **This field is deprecated**. Set the `compressor` field instead..google.protobuf.UInt32Value content_length = 2 [deprecated = true]; -
getContentLengthBuilder
Deprecated.Minimum response length, in bytes, which will trigger compression. The default value is 30. .. attention: **This field is deprecated**. Set the `compressor` field instead..google.protobuf.UInt32Value content_length = 2 [deprecated = true]; -
getContentLengthOrBuilder
Deprecated.Minimum response length, in bytes, which will trigger compression. The default value is 30. .. attention: **This field is deprecated**. Set the `compressor` field instead..google.protobuf.UInt32Value content_length = 2 [deprecated = true];- Specified by:
getContentLengthOrBuilderin interfaceGzipOrBuilder
-
getCompressionLevelValue
public int getCompressionLevelValue()A value used for selecting the zlib compression level. This setting will affect speed and amount of compression applied to the content. "BEST" provides higher compression at the cost of higher latency, "SPEED" provides lower compression with minimum impact on response time. "DEFAULT" provides an optimal result between speed and compression. This field will be set to "DEFAULT" if not specified.
.envoy.config.filter.http.gzip.v2.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }- Specified by:
getCompressionLevelValuein interfaceGzipOrBuilder- Returns:
- The enum numeric value on the wire for compressionLevel.
-
setCompressionLevelValue
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) = { ... }- Parameters:
value- The enum numeric value on the wire for compressionLevel to set.- Returns:
- This builder for chaining.
-
getCompressionLevel
A value used for selecting the zlib compression level. This setting will affect speed and amount of compression applied to the content. "BEST" provides higher compression at the cost of higher latency, "SPEED" provides lower compression with minimum impact on response time. "DEFAULT" provides an optimal result between speed and compression. This field will be set to "DEFAULT" if not specified.
.envoy.config.filter.http.gzip.v2.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }- Specified by:
getCompressionLevelin interfaceGzipOrBuilder- Returns:
- The compressionLevel.
-
setCompressionLevel
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) = { ... }- Parameters:
value- The compressionLevel to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Returns:
- This builder for chaining.
-
getCompressionStrategyValue
public int getCompressionStrategyValue()A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content. Most of the time "DEFAULT" will be the best choice, though there are situations which changing this parameter might produce better results. For example, run-length encoding (RLE) is typically used when the content is known for having sequences which same data occurs many consecutive times. For more information about each strategy, please refer to zlib manual.
.envoy.config.filter.http.gzip.v2.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }- Specified by:
getCompressionStrategyValuein interfaceGzipOrBuilder- Returns:
- The enum numeric value on the wire for compressionStrategy.
-
setCompressionStrategyValue
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) = { ... }- Parameters:
value- The enum numeric value on the wire for compressionStrategy to set.- Returns:
- This builder for chaining.
-
getCompressionStrategy
A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content. Most of the time "DEFAULT" will be the best choice, though there are situations which changing this parameter might produce better results. For example, run-length encoding (RLE) is typically used when the content is known for having sequences which same data occurs many consecutive times. For more information about each strategy, please refer to zlib manual.
.envoy.config.filter.http.gzip.v2.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }- Specified by:
getCompressionStrategyin interfaceGzipOrBuilder- Returns:
- The compressionStrategy.
-
setCompressionStrategy
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) = { ... }- Parameters:
value- The compressionStrategy to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Returns:
- This builder for chaining.
-
getContentTypeList
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml". .. attention: **This field is deprecated**. Set the `compressor` field instead.repeated string content_type = 6 [deprecated = true];- Specified by:
getContentTypeListin interfaceGzipOrBuilder- Returns:
- A list containing the contentType.
-
getContentTypeCount
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml". .. attention: **This field is deprecated**. Set the `compressor` field instead.repeated string content_type = 6 [deprecated = true];- Specified by:
getContentTypeCountin interfaceGzipOrBuilder- Returns:
- The count of contentType.
-
getContentType
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml". .. attention: **This field is deprecated**. Set the `compressor` field instead.repeated string content_type = 6 [deprecated = true];- Specified by:
getContentTypein interfaceGzipOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The contentType at the given index.
-
getContentTypeBytes
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc. When this field is not defined, compression will be applied to the following mime-types: "application/javascript", "application/json", "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml". .. attention: **This field is deprecated**. Set the `compressor` field instead.repeated string content_type = 6 [deprecated = true];- Specified by:
getContentTypeBytesin interfaceGzipOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the contentType at the given index.
-
setContentType
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set 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];- Parameters:
index- The index to set the value at.value- The contentType to set.- Returns:
- This builder for chaining.
-
addContentType
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set 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];- Parameters:
value- The contentType to add.- Returns:
- This builder for chaining.
-
addAllContentType
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set 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];- Parameters:
values- The contentType to add.- Returns:
- This builder for chaining.
-
clearContentType
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set 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];- Returns:
- This builder for chaining.
-
addContentTypeBytes
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.content_type is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=70Set 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];- Parameters:
value- The bytes of the contentType to add.- Returns:
- This builder for chaining.
-
getDisableOnEtagHeader
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.disable_on_etag_header is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=77If true, disables compression when the response contains an etag header. When it is false, the filter will preserve weak etags and remove the ones that require strong validation. .. attention: **This field is deprecated**. Set the `compressor` field instead.bool disable_on_etag_header = 7 [deprecated = true];- Specified by:
getDisableOnEtagHeaderin interfaceGzipOrBuilder- Returns:
- The disableOnEtagHeader.
-
setDisableOnEtagHeader
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.disable_on_etag_header is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=77If 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];- Parameters:
value- The disableOnEtagHeader to set.- Returns:
- This builder for chaining.
-
clearDisableOnEtagHeader
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.disable_on_etag_header is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=77If 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];- Returns:
- This builder for chaining.
-
getRemoveAcceptEncodingHeader
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.remove_accept_encoding_header is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=84If true, removes accept-encoding from the request headers before dispatching it to the upstream so that responses do not get compressed before reaching the filter. .. attention: **This field is deprecated**. Set the `compressor` field instead.bool remove_accept_encoding_header = 8 [deprecated = true];- Specified by:
getRemoveAcceptEncodingHeaderin interfaceGzipOrBuilder- Returns:
- The removeAcceptEncodingHeader.
-
setRemoveAcceptEncodingHeader
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.remove_accept_encoding_header is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=84If 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];- Parameters:
value- The removeAcceptEncodingHeader to set.- Returns:
- This builder for chaining.
-
clearRemoveAcceptEncodingHeader
Deprecated.envoy.config.filter.http.gzip.v2.Gzip.remove_accept_encoding_header is deprecated. See envoy/config/filter/http/gzip/v2/gzip.proto;l=84If 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];- Returns:
- This builder for chaining.
-
hasWindowBits
public boolean hasWindowBits()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 12 which will produce a 4096 bytes window. For more details about this parameter, please refer to zlib manual > deflateInit2.
.google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... }- Specified by:
hasWindowBitsin interfaceGzipOrBuilder- Returns:
- Whether the windowBits field is set.
-
getWindowBits
public com.google.protobuf.UInt32Value getWindowBits()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 12 which will produce a 4096 bytes window. For more details about this parameter, please refer to zlib manual > deflateInit2.
.google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... }- Specified by:
getWindowBitsin interfaceGzipOrBuilder- Returns:
- The windowBits.
-
setWindowBits
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 12 which will produce a 4096 bytes window. For more details about this parameter, please refer to zlib manual > deflateInit2.
.google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... } -
setWindowBits
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 12 which will produce a 4096 bytes window. For more details about this parameter, please refer to zlib manual > deflateInit2.
.google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... } -
mergeWindowBits
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 12 which will produce a 4096 bytes window. For more details about this parameter, please refer to zlib manual > deflateInit2.
.google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... } -
clearWindowBits
Value from 9 to 15 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 12 which will produce a 4096 bytes window. For more details about this parameter, please refer to zlib manual > deflateInit2.
.google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... } -
getWindowBitsBuilder
public com.google.protobuf.UInt32Value.Builder getWindowBitsBuilder()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 12 which will produce a 4096 bytes window. For more details about this parameter, please refer to zlib manual > deflateInit2.
.google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... } -
getWindowBitsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getWindowBitsOrBuilder()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size. Larger window results in better compression at the expense of memory usage. The default is 12 which will produce a 4096 bytes window. For more details about this parameter, please refer to zlib manual > deflateInit2.
.google.protobuf.UInt32Value window_bits = 9 [(.validate.rules) = { ... }- Specified by:
getWindowBitsOrBuilderin interfaceGzipOrBuilder
-
hasCompressor
public boolean hasCompressor()Set of configuration parameters common for all compression filters. If this field is set then the fields `content_length`, `content_type`, `disable_on_etag_header` and `remove_accept_encoding_header` are ignored.
.envoy.config.filter.http.compressor.v2.Compressor compressor = 10;- Specified by:
hasCompressorin interfaceGzipOrBuilder- Returns:
- Whether the compressor field is set.
-
getCompressor
Set of configuration parameters common for all compression filters. If this field is set then the fields `content_length`, `content_type`, `disable_on_etag_header` and `remove_accept_encoding_header` are ignored.
.envoy.config.filter.http.compressor.v2.Compressor compressor = 10;- Specified by:
getCompressorin interfaceGzipOrBuilder- Returns:
- The compressor.
-
setCompressor
Set of configuration parameters common for all compression filters. If this field is set then the fields `content_length`, `content_type`, `disable_on_etag_header` and `remove_accept_encoding_header` are ignored.
.envoy.config.filter.http.compressor.v2.Compressor compressor = 10; -
setCompressor
Set of configuration parameters common for all compression filters. If this field is set then the fields `content_length`, `content_type`, `disable_on_etag_header` and `remove_accept_encoding_header` are ignored.
.envoy.config.filter.http.compressor.v2.Compressor compressor = 10; -
mergeCompressor
Set of configuration parameters common for all compression filters. If this field is set then the fields `content_length`, `content_type`, `disable_on_etag_header` and `remove_accept_encoding_header` are ignored.
.envoy.config.filter.http.compressor.v2.Compressor compressor = 10; -
clearCompressor
Set of configuration parameters common for all compression filters. If this field is set then the fields `content_length`, `content_type`, `disable_on_etag_header` and `remove_accept_encoding_header` are ignored.
.envoy.config.filter.http.compressor.v2.Compressor compressor = 10; -
getCompressorBuilder
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
Set of configuration parameters common for all compression filters. If this field is set then the fields `content_length`, `content_type`, `disable_on_etag_header` and `remove_accept_encoding_header` are ignored.
.envoy.config.filter.http.compressor.v2.Compressor compressor = 10;- Specified by:
getCompressorOrBuilderin interfaceGzipOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-