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
public final class Brotli extends com.google.protobuf.GeneratedMessageV3 implements BrotliOrBuilder
[#next-free-field: 7]
Protobuf typeenvoy.extensions.compression.brotli.compressor.v3.Brotli- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBrotli.Builder[#next-free-field: 7]static classBrotli.EncoderModeProtobuf enumenvoy.extensions.compression.brotli.compressor.v3.Brotli.EncoderMode-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCHUNK_SIZE_FIELD_NUMBERstatic intDISABLE_LITERAL_CONTEXT_MODELING_FIELD_NUMBERstatic intENCODER_MODE_FIELD_NUMBERstatic intINPUT_BLOCK_BITS_FIELD_NUMBERstatic intQUALITY_FIELD_NUMBERstatic intWINDOW_BITS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.UInt32ValuegetChunkSize()Value for compressor's next output buffer.com.google.protobuf.UInt32ValueOrBuildergetChunkSizeOrBuilder()Value for compressor's next output buffer.static BrotligetDefaultInstance()BrotligetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.UInt32ValueOrBuildergetInputBlockBitsOrBuilder()Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.com.google.protobuf.Parser<Brotli>getParserForType()com.google.protobuf.UInt32ValuegetQuality()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.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()com.google.protobuf.UInt32ValuegetWindowBits()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.inthashCode()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()static Brotli.BuildernewBuilder()static Brotli.BuildernewBuilder(Brotli prototype)Brotli.BuildernewBuilderForType()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()Brotli.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
QUALITY_FIELD_NUMBER
public static final int QUALITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCODER_MODE_FIELD_NUMBER
public static final int ENCODER_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WINDOW_BITS_FIELD_NUMBER
public static final int WINDOW_BITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_BLOCK_BITS_FIELD_NUMBER
public static final int INPUT_BLOCK_BITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHUNK_SIZE_FIELD_NUMBER
public static final int CHUNK_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_LITERAL_CONTEXT_MODELING_FIELD_NUMBER
public static final int DISABLE_LITERAL_CONTEXT_MODELING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
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.
-
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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static Brotli parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Brotli parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Brotli parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Brotli parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Brotli parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Brotli parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Brotli.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Brotli.Builder newBuilder()
-
newBuilder
public static Brotli.Builder newBuilder(Brotli prototype)
-
toBuilder
public Brotli.Builder 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
public static Brotli getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Brotli> parser()
-
getParserForType
public com.google.protobuf.Parser<Brotli> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Brotli getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-