Class Brotli.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
-
- io.envoyproxy.envoy.extensions.compression.brotli.compressor.v3.Brotli.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BrotliOrBuilder,Cloneable
- Enclosing class:
- Brotli
public static final class Brotli.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder> implements BrotliOrBuilder
[#next-free-field: 7]
Protobuf typeenvoy.extensions.compression.brotli.compressor.v3.Brotli
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Brotli.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Brotlibuild()BrotlibuildPartial()Brotli.Builderclear()Brotli.BuilderclearChunkSize()Value for compressor's next output buffer.Brotli.BuilderclearDisableLiteralContextModeling()If true, disables "literal context modeling" format feature.Brotli.BuilderclearEncoderMode()A value used to tune encoder for specific input.Brotli.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Brotli.BuilderclearInputBlockBits()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.Brotli.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Brotli.BuilderclearQuality()Value from 0 to 11 that controls the main compression speed-density lever.Brotli.BuilderclearWindowBits()Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.Brotli.Builderclone()com.google.protobuf.UInt32ValuegetChunkSize()Value for compressor's next output buffer.com.google.protobuf.UInt32Value.BuildergetChunkSizeBuilder()Value for compressor's next output buffer.com.google.protobuf.UInt32ValueOrBuildergetChunkSizeOrBuilder()Value for compressor's next output buffer.BrotligetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDisableLiteralContextModeling()If true, disables "literal context modeling" format feature.Brotli.EncoderModegetEncoderMode()A value used to tune encoder for specific input.intgetEncoderModeValue()A value used to tune encoder for specific input.com.google.protobuf.UInt32ValuegetInputBlockBits()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.com.google.protobuf.UInt32Value.BuildergetInputBlockBitsBuilder()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.com.google.protobuf.UInt32ValueOrBuildergetInputBlockBitsOrBuilder()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.com.google.protobuf.UInt32ValuegetQuality()Value from 0 to 11 that controls the main compression speed-density lever.com.google.protobuf.UInt32Value.BuildergetQualityBuilder()Value from 0 to 11 that controls the main compression speed-density lever.com.google.protobuf.UInt32ValueOrBuildergetQualityOrBuilder()Value from 0 to 11 that controls the main compression speed-density lever.com.google.protobuf.UInt32ValuegetWindowBits()Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.com.google.protobuf.UInt32Value.BuildergetWindowBitsBuilder()Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.com.google.protobuf.UInt32ValueOrBuildergetWindowBitsOrBuilder()Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.booleanhasChunkSize()Value for compressor's next output buffer.booleanhasInputBlockBits()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.booleanhasQuality()Value from 0 to 11 that controls the main compression speed-density lever.booleanhasWindowBits()Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Brotli.BuildermergeChunkSize(com.google.protobuf.UInt32Value value)Value for compressor's next output buffer.Brotli.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Brotli.BuildermergeFrom(com.google.protobuf.Message other)Brotli.BuildermergeFrom(Brotli other)Brotli.BuildermergeInputBlockBits(com.google.protobuf.UInt32Value value)Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.Brotli.BuildermergeQuality(com.google.protobuf.UInt32Value value)Value from 0 to 11 that controls the main compression speed-density lever.Brotli.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Brotli.BuildermergeWindowBits(com.google.protobuf.UInt32Value value)Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.Brotli.BuildersetChunkSize(com.google.protobuf.UInt32Value value)Value for compressor's next output buffer.Brotli.BuildersetChunkSize(com.google.protobuf.UInt32Value.Builder builderForValue)Value for compressor's next output buffer.Brotli.BuildersetDisableLiteralContextModeling(boolean value)If true, disables "literal context modeling" format feature.Brotli.BuildersetEncoderMode(Brotli.EncoderMode value)A value used to tune encoder for specific input.Brotli.BuildersetEncoderModeValue(int value)A value used to tune encoder for specific input.Brotli.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Brotli.BuildersetInputBlockBits(com.google.protobuf.UInt32Value value)Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.Brotli.BuildersetInputBlockBits(com.google.protobuf.UInt32Value.Builder builderForValue)Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.Brotli.BuildersetQuality(com.google.protobuf.UInt32Value value)Value from 0 to 11 that controls the main compression speed-density lever.Brotli.BuildersetQuality(com.google.protobuf.UInt32Value.Builder builderForValue)Value from 0 to 11 that controls the main compression speed-density lever.Brotli.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Brotli.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Brotli.BuildersetWindowBits(com.google.protobuf.UInt32Value value)Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.Brotli.BuildersetWindowBits(com.google.protobuf.UInt32Value.Builder builderForValue)Value from 10 to 24 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<Brotli.Builder>
-
clear
public Brotli.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<Brotli.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<Brotli.Builder>
-
getDefaultInstanceForType
public Brotli getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Brotli build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Brotli buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Brotli.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<Brotli.Builder>
-
setField
public Brotli.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<Brotli.Builder>
-
clearField
public Brotli.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
-
clearOneof
public Brotli.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
-
setRepeatedField
public Brotli.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<Brotli.Builder>
-
addRepeatedField
public Brotli.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<Brotli.Builder>
-
mergeFrom
public Brotli.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Brotli.Builder>
-
mergeFrom
public Brotli.Builder mergeFrom(Brotli other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
-
mergeFrom
public Brotli.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<Brotli.Builder>- Throws:
IOException
-
hasQuality
public boolean hasQuality()
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }- Specified by:
hasQualityin interfaceBrotliOrBuilder- Returns:
- Whether the quality field is set.
-
getQuality
public com.google.protobuf.UInt32Value getQuality()
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }- Specified by:
getQualityin interfaceBrotliOrBuilder- Returns:
- The quality.
-
setQuality
public Brotli.Builder setQuality(com.google.protobuf.UInt32Value value)
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }
-
setQuality
public Brotli.Builder setQuality(com.google.protobuf.UInt32Value.Builder builderForValue)
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }
-
mergeQuality
public Brotli.Builder mergeQuality(com.google.protobuf.UInt32Value value)
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }
-
clearQuality
public Brotli.Builder clearQuality()
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }
-
getQualityBuilder
public com.google.protobuf.UInt32Value.Builder getQualityBuilder()
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }
-
getQualityOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getQualityOrBuilder()
Value from 0 to 11 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 3.
.google.protobuf.UInt32Value quality = 1 [(.validate.rules) = { ... }- Specified by:
getQualityOrBuilderin interfaceBrotliOrBuilder
-
getEncoderModeValue
public int getEncoderModeValue()
A value used to tune encoder for specific input. For more information about modes, please refer to brotli manual: https://brotli.org/encode.html#aa6f This field will be set to "DEFAULT" if not specified.
.envoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderMode encoder_mode = 2 [(.validate.rules) = { ... }- Specified by:
getEncoderModeValuein interfaceBrotliOrBuilder- Returns:
- The enum numeric value on the wire for encoderMode.
-
setEncoderModeValue
public Brotli.Builder setEncoderModeValue(int value)
A value used to tune encoder for specific input. For more information about modes, please refer to brotli manual: https://brotli.org/encode.html#aa6f This field will be set to "DEFAULT" if not specified.
.envoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderMode encoder_mode = 2 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for encoderMode to set.- Returns:
- This builder for chaining.
-
getEncoderMode
public Brotli.EncoderMode getEncoderMode()
A value used to tune encoder for specific input. For more information about modes, please refer to brotli manual: https://brotli.org/encode.html#aa6f This field will be set to "DEFAULT" if not specified.
.envoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderMode encoder_mode = 2 [(.validate.rules) = { ... }- Specified by:
getEncoderModein interfaceBrotliOrBuilder- Returns:
- The encoderMode.
-
setEncoderMode
public Brotli.Builder setEncoderMode(Brotli.EncoderMode value)
A value used to tune encoder for specific input. For more information about modes, please refer to brotli manual: https://brotli.org/encode.html#aa6f This field will be set to "DEFAULT" if not specified.
.envoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderMode encoder_mode = 2 [(.validate.rules) = { ... }- Parameters:
value- The encoderMode to set.- Returns:
- This builder for chaining.
-
clearEncoderMode
public Brotli.Builder clearEncoderMode()
A value used to tune encoder for specific input. For more information about modes, please refer to brotli manual: https://brotli.org/encode.html#aa6f This field will be set to "DEFAULT" if not specified.
.envoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderMode encoder_mode = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasWindowBits
public boolean hasWindowBits()
Value from 10 to 24 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 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }- Specified by:
hasWindowBitsin interfaceBrotliOrBuilder- Returns:
- Whether the windowBits field is set.
-
getWindowBits
public com.google.protobuf.UInt32Value getWindowBits()
Value from 10 to 24 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 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }- Specified by:
getWindowBitsin interfaceBrotliOrBuilder- Returns:
- The windowBits.
-
setWindowBits
public Brotli.Builder setWindowBits(com.google.protobuf.UInt32Value value)
Value from 10 to 24 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 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }
-
setWindowBits
public Brotli.Builder setWindowBits(com.google.protobuf.UInt32Value.Builder builderForValue)
Value from 10 to 24 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 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }
-
mergeWindowBits
public Brotli.Builder mergeWindowBits(com.google.protobuf.UInt32Value value)
Value from 10 to 24 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 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }
-
clearWindowBits
public Brotli.Builder clearWindowBits()
Value from 10 to 24 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 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }
-
getWindowBitsBuilder
public com.google.protobuf.UInt32Value.Builder getWindowBitsBuilder()
Value from 10 to 24 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 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }
-
getWindowBitsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getWindowBitsOrBuilder()
Value from 10 to 24 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 18. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value window_bits = 3 [(.validate.rules) = { ... }- Specified by:
getWindowBitsOrBuilderin interfaceBrotliOrBuilder
-
hasInputBlockBits
public boolean hasInputBlockBits()
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }- Specified by:
hasInputBlockBitsin interfaceBrotliOrBuilder- Returns:
- Whether the inputBlockBits field is set.
-
getInputBlockBits
public com.google.protobuf.UInt32Value getInputBlockBits()
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }- Specified by:
getInputBlockBitsin interfaceBrotliOrBuilder- Returns:
- The inputBlockBits.
-
setInputBlockBits
public Brotli.Builder setInputBlockBits(com.google.protobuf.UInt32Value value)
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }
-
setInputBlockBits
public Brotli.Builder setInputBlockBits(com.google.protobuf.UInt32Value.Builder builderForValue)
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }
-
mergeInputBlockBits
public Brotli.Builder mergeInputBlockBits(com.google.protobuf.UInt32Value value)
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }
-
clearInputBlockBits
public Brotli.Builder clearInputBlockBits()
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }
-
getInputBlockBitsBuilder
public com.google.protobuf.UInt32Value.Builder getInputBlockBitsBuilder()
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }
-
getInputBlockBitsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getInputBlockBitsOrBuilder()
Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size. Larger input block results in better compression at the expense of memory usage. The default is 24. For more details about this parameter, please refer to brotli manual: https://brotli.org/encode.html#a9a8
.google.protobuf.UInt32Value input_block_bits = 4 [(.validate.rules) = { ... }- Specified by:
getInputBlockBitsOrBuilderin interfaceBrotliOrBuilder
-
hasChunkSize
public boolean hasChunkSize()
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }- Specified by:
hasChunkSizein interfaceBrotliOrBuilder- Returns:
- Whether the chunkSize field is set.
-
getChunkSize
public com.google.protobuf.UInt32Value getChunkSize()
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }- Specified by:
getChunkSizein interfaceBrotliOrBuilder- Returns:
- The chunkSize.
-
setChunkSize
public Brotli.Builder setChunkSize(com.google.protobuf.UInt32Value value)
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }
-
setChunkSize
public Brotli.Builder setChunkSize(com.google.protobuf.UInt32Value.Builder builderForValue)
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }
-
mergeChunkSize
public Brotli.Builder mergeChunkSize(com.google.protobuf.UInt32Value value)
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }
-
clearChunkSize
public Brotli.Builder clearChunkSize()
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }
-
getChunkSizeBuilder
public com.google.protobuf.UInt32Value.Builder getChunkSizeBuilder()
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }
-
getChunkSizeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
Value for compressor's next output buffer. If not set, defaults to 4096.
.google.protobuf.UInt32Value chunk_size = 5 [(.validate.rules) = { ... }- Specified by:
getChunkSizeOrBuilderin interfaceBrotliOrBuilder
-
getDisableLiteralContextModeling
public boolean getDisableLiteralContextModeling()
If true, disables "literal context modeling" format feature. This flag is a "decoding-speed vs compression ratio" trade-off.
bool disable_literal_context_modeling = 6;- Specified by:
getDisableLiteralContextModelingin interfaceBrotliOrBuilder- Returns:
- The disableLiteralContextModeling.
-
setDisableLiteralContextModeling
public Brotli.Builder setDisableLiteralContextModeling(boolean value)
If true, disables "literal context modeling" format feature. This flag is a "decoding-speed vs compression ratio" trade-off.
bool disable_literal_context_modeling = 6;- Parameters:
value- The disableLiteralContextModeling to set.- Returns:
- This builder for chaining.
-
clearDisableLiteralContextModeling
public Brotli.Builder clearDisableLiteralContextModeling()
If true, disables "literal context modeling" format feature. This flag is a "decoding-speed vs compression ratio" trade-off.
bool disable_literal_context_modeling = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Brotli.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
-
mergeUnknownFields
public final Brotli.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
-
-