Class Gzip.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.gzip.v3.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: 12]
Protobuf typeenvoy.extensions.filters.http.gzip.v3.Gzip
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Gzip.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Gzipbuild()GzipbuildPartial()Gzip.Builderclear()Gzip.BuilderclearChunkSize()Value for Zlib's next output buffer.Gzip.BuilderclearCompressionLevel()A value used for selecting the zlib compression level.Gzip.BuilderclearCompressionStrategy()A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.Gzip.BuilderclearCompressor()Set of configuration parameters common for all compression filters.Gzip.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Gzip.BuilderclearMemoryLevel()Value from 1 to 9 that controls the amount of internal memory used by zlib.Gzip.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Gzip.BuilderclearWindowBits()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.Gzip.Builderclone()com.google.protobuf.UInt32ValuegetChunkSize()Value for Zlib's next output buffer.com.google.protobuf.UInt32Value.BuildergetChunkSizeBuilder()Value for Zlib's next output buffer.com.google.protobuf.UInt32ValueOrBuildergetChunkSizeOrBuilder()Value for Zlib's next output buffer.Gzip.CompressionLevel.EnumgetCompressionLevel()A value used for selecting the zlib compression level.intgetCompressionLevelValue()A value used for selecting the zlib compression level.Gzip.CompressionStrategygetCompressionStrategy()A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.intgetCompressionStrategyValue()A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.CompressorgetCompressor()Set of configuration parameters common for all compression filters.Compressor.BuildergetCompressorBuilder()Set of configuration parameters common for all compression filters.CompressorOrBuildergetCompressorOrBuilder()Set of configuration parameters common for all compression filters.GzipgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetMemoryLevel()Value from 1 to 9 that controls the amount of internal memory used by zlib.com.google.protobuf.UInt32Value.BuildergetMemoryLevelBuilder()Value from 1 to 9 that controls the amount of internal memory used by zlib.com.google.protobuf.UInt32ValueOrBuildergetMemoryLevelOrBuilder()Value from 1 to 9 that controls the amount of internal memory used by zlib.com.google.protobuf.UInt32ValuegetWindowBits()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.com.google.protobuf.UInt32Value.BuildergetWindowBitsBuilder()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.com.google.protobuf.UInt32ValueOrBuildergetWindowBitsOrBuilder()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.booleanhasChunkSize()Value for Zlib's next output buffer.booleanhasCompressor()Set of configuration parameters common for all compression filters.booleanhasMemoryLevel()Value from 1 to 9 that controls the amount of internal memory used by zlib.booleanhasWindowBits()Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Gzip.BuildermergeChunkSize(com.google.protobuf.UInt32Value value)Value for Zlib's next output buffer.Gzip.BuildermergeCompressor(Compressor value)Set of configuration parameters common for all compression filters.Gzip.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Gzip.BuildermergeFrom(com.google.protobuf.Message other)Gzip.BuildermergeFrom(Gzip other)Gzip.BuildermergeMemoryLevel(com.google.protobuf.UInt32Value value)Value from 1 to 9 that controls the amount of internal memory used by zlib.Gzip.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Gzip.BuildermergeWindowBits(com.google.protobuf.UInt32Value value)Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.Gzip.BuildersetChunkSize(com.google.protobuf.UInt32Value value)Value for Zlib's next output buffer.Gzip.BuildersetChunkSize(com.google.protobuf.UInt32Value.Builder builderForValue)Value for Zlib's next output buffer.Gzip.BuildersetCompressionLevel(Gzip.CompressionLevel.Enum value)A value used for selecting the zlib compression level.Gzip.BuildersetCompressionLevelValue(int value)A value used for selecting the zlib compression level.Gzip.BuildersetCompressionStrategy(Gzip.CompressionStrategy value)A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.Gzip.BuildersetCompressionStrategyValue(int value)A value used for selecting the zlib compression strategy which is directly related to the characteristics of the content.Gzip.BuildersetCompressor(Compressor value)Set of configuration parameters common for all compression filters.Gzip.BuildersetCompressor(Compressor.Builder builderForValue)Set of configuration parameters common for all compression filters.Gzip.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Gzip.BuildersetMemoryLevel(com.google.protobuf.UInt32Value value)Value from 1 to 9 that controls the amount of internal memory used by zlib.Gzip.BuildersetMemoryLevel(com.google.protobuf.UInt32Value.Builder builderForValue)Value from 1 to 9 that controls the amount of internal memory used by zlib.Gzip.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Gzip.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Gzip.BuildersetWindowBits(com.google.protobuf.UInt32Value value)Value from 9 to 15 that represents the base two logarithmic of the compressor's window size.Gzip.BuildersetWindowBits(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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public Gzip getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gzip build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gzip buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gzip.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
public Gzip.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
clearField
public Gzip.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
clearOneof
public Gzip.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public Gzip.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Gzip.Builder>
-
mergeFrom
public Gzip.Builder mergeFrom(Gzip other)
-
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
public 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) = { ... }
-
setMemoryLevel
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) = { ... }
-
mergeMemoryLevel
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) = { ... }
-
clearMemoryLevel
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) = { ... }
-
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
-
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.extensions.filters.http.gzip.v3.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }- Specified by:
getCompressionLevelValuein interfaceGzipOrBuilder- Returns:
- The enum numeric value on the wire for compressionLevel.
-
setCompressionLevelValue
public 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.extensions.filters.http.gzip.v3.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
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.extensions.filters.http.gzip.v3.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }- Specified by:
getCompressionLevelin interfaceGzipOrBuilder- Returns:
- The compressionLevel.
-
setCompressionLevel
public 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.extensions.filters.http.gzip.v3.Gzip.CompressionLevel.Enum compression_level = 3 [(.validate.rules) = { ... }- Parameters:
value- The compressionLevel to set.- Returns:
- This builder for chaining.
-
clearCompressionLevel
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.extensions.filters.http.gzip.v3.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.extensions.filters.http.gzip.v3.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }- Specified by:
getCompressionStrategyValuein interfaceGzipOrBuilder- Returns:
- The enum numeric value on the wire for compressionStrategy.
-
setCompressionStrategyValue
public 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.extensions.filters.http.gzip.v3.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
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.extensions.filters.http.gzip.v3.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }- Specified by:
getCompressionStrategyin interfaceGzipOrBuilder- Returns:
- The compressionStrategy.
-
setCompressionStrategy
public 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.extensions.filters.http.gzip.v3.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }- Parameters:
value- The compressionStrategy to set.- Returns:
- This builder for chaining.
-
clearCompressionStrategy
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.extensions.filters.http.gzip.v3.Gzip.CompressionStrategy compression_strategy = 4 [(.validate.rules) = { ... }- 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
public 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) = { ... }
-
setWindowBits
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) = { ... }
-
mergeWindowBits
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) = { ... }
-
clearWindowBits
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) = { ... }
-
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. You can define ``content_length``, ``content_type`` and other parameters in this field.
.envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;- Specified by:
hasCompressorin interfaceGzipOrBuilder- Returns:
- Whether the compressor field is set.
-
getCompressor
public Compressor getCompressor()
Set of configuration parameters common for all compression filters. You can define ``content_length``, ``content_type`` and other parameters in this field.
.envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;- Specified by:
getCompressorin interfaceGzipOrBuilder- Returns:
- The compressor.
-
setCompressor
public Gzip.Builder setCompressor(Compressor value)
Set of configuration parameters common for all compression filters. You can define ``content_length``, ``content_type`` and other parameters in this field.
.envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;
-
setCompressor
public Gzip.Builder setCompressor(Compressor.Builder builderForValue)
Set of configuration parameters common for all compression filters. You can define ``content_length``, ``content_type`` and other parameters in this field.
.envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;
-
mergeCompressor
public Gzip.Builder mergeCompressor(Compressor value)
Set of configuration parameters common for all compression filters. You can define ``content_length``, ``content_type`` and other parameters in this field.
.envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;
-
clearCompressor
public Gzip.Builder clearCompressor()
Set of configuration parameters common for all compression filters. You can define ``content_length``, ``content_type`` and other parameters in this field.
.envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;
-
getCompressorBuilder
public Compressor.Builder getCompressorBuilder()
Set of configuration parameters common for all compression filters. You can define ``content_length``, ``content_type`` and other parameters in this field.
.envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;
-
getCompressorOrBuilder
public CompressorOrBuilder getCompressorOrBuilder()
Set of configuration parameters common for all compression filters. You can define ``content_length``, ``content_type`` and other parameters in this field.
.envoy.extensions.filters.http.compressor.v3.Compressor compressor = 10;- Specified by:
getCompressorOrBuilderin interfaceGzipOrBuilder
-
hasChunkSize
public boolean hasChunkSize()
Value for Zlib's next output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details. Also see https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
.google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }- Specified by:
hasChunkSizein interfaceGzipOrBuilder- Returns:
- Whether the chunkSize field is set.
-
getChunkSize
public com.google.protobuf.UInt32Value getChunkSize()
Value for Zlib's next output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details. Also see https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
.google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }- Specified by:
getChunkSizein interfaceGzipOrBuilder- Returns:
- The chunkSize.
-
setChunkSize
public Gzip.Builder setChunkSize(com.google.protobuf.UInt32Value value)
Value for Zlib's next output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details. Also see https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
.google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }
-
setChunkSize
public Gzip.Builder setChunkSize(com.google.protobuf.UInt32Value.Builder builderForValue)
Value for Zlib's next output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details. Also see https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
.google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }
-
mergeChunkSize
public Gzip.Builder mergeChunkSize(com.google.protobuf.UInt32Value value)
Value for Zlib's next output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details. Also see https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
.google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }
-
clearChunkSize
public Gzip.Builder clearChunkSize()
Value for Zlib's next output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details. Also see https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
.google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }
-
getChunkSizeBuilder
public com.google.protobuf.UInt32Value.Builder getChunkSizeBuilder()
Value for Zlib's next output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details. Also see https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
.google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }
-
getChunkSizeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
Value for Zlib's next output buffer. If not set, defaults to 4096. See https://www.zlib.net/manual.html for more details. Also see https://github.com/envoyproxy/envoy/issues/8448 for context on this filter's performance.
.google.protobuf.UInt32Value chunk_size = 11 [(.validate.rules) = { ... }- Specified by:
getChunkSizeOrBuilderin interfaceGzipOrBuilder
-
setUnknownFields
public final Gzip.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
mergeUnknownFields
public final Gzip.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
-