Class Brotli
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.compression.brotli.compressor.v3.Brotli
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BrotliOrBuilder,Serializable
[#next-free-field: 7]Protobuf type
envoy.extensions.compression.brotli.compressor.v3.Brotli- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 7]static enumProtobuf enumenvoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderModeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.UInt32ValueValue for compressor's next output buffer.com.google.protobuf.UInt32ValueOrBuilderValue for compressor's next output buffer.static Brotlistatic final com.google.protobuf.Descriptors.DescriptorbooleanIf true, disables "literal context modeling" format feature.A value used to tune encoder for specific input.intA value used to tune encoder for specific input.com.google.protobuf.UInt32ValueValue from 16 to 24 that represents the base two logarithmic of the compressor's input block size.com.google.protobuf.UInt32ValueOrBuilderValue from 16 to 24 that represents the base two logarithmic of the compressor's input block size.com.google.protobuf.Parser<Brotli>com.google.protobuf.UInt32ValueValue from 0 to 11 that controls the main compression speed-density lever.com.google.protobuf.UInt32ValueOrBuilderValue from 0 to 11 that controls the main compression speed-density lever.intcom.google.protobuf.UInt32ValueValue from 10 to 24 that represents the base two logarithmic of the compressor's window size.com.google.protobuf.UInt32ValueOrBuilderValue from 10 to 24 that represents the base two logarithmic of the compressor's window size.booleanValue for compressor's next output buffer.inthashCode()booleanValue from 16 to 24 that represents the base two logarithmic of the compressor's input block size.booleanValue from 0 to 11 that controls the main compression speed-density lever.booleanValue from 10 to 24 that represents the base two logarithmic of the compressor's window size.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Brotli.Builderstatic Brotli.BuildernewBuilder(Brotli prototype) protected Brotli.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static BrotliparseDelimitedFrom(InputStream input) static BrotliparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrotliparseFrom(byte[] data) static BrotliparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrotliparseFrom(com.google.protobuf.ByteString data) static BrotliparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrotliparseFrom(com.google.protobuf.CodedInputStream input) static BrotliparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrotliparseFrom(InputStream input) static BrotliparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrotliparseFrom(ByteBuffer data) static BrotliparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Brotli>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
QUALITY_FIELD_NUMBER
public static final int QUALITY_FIELD_NUMBER- See Also:
-
ENCODER_MODE_FIELD_NUMBER
public static final int ENCODER_MODE_FIELD_NUMBER- See Also:
-
WINDOW_BITS_FIELD_NUMBER
public static final int WINDOW_BITS_FIELD_NUMBER- See Also:
-
INPUT_BLOCK_BITS_FIELD_NUMBER
public static final int INPUT_BLOCK_BITS_FIELD_NUMBER- See Also:
-
CHUNK_SIZE_FIELD_NUMBER
public static final int CHUNK_SIZE_FIELD_NUMBER- See Also:
-
DISABLE_LITERAL_CONTEXT_MODELING_FIELD_NUMBER
public static final int DISABLE_LITERAL_CONTEXT_MODELING_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Brotli parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Brotli parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Brotli parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Brotli parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Brotli parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Brotli parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Brotli parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Brotli parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Brotli parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Brotli.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-