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 type envoy.extensions.compression.brotli.compressor.v3.Brotli
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    [#next-free-field: 7]
    static enum 
    Protobuf enum envoy.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<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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.google.protobuf.UInt32Value
    Value for compressor's next output buffer.
    com.google.protobuf.UInt32ValueOrBuilder
    Value for compressor's next output buffer.
    static Brotli
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    boolean
    If true, disables "literal context modeling" format feature.
    A value used to tune encoder for specific input.
    int
    A value used to tune encoder for specific input.
    com.google.protobuf.UInt32Value
    Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.
    com.google.protobuf.UInt32ValueOrBuilder
    Value 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.UInt32Value
    Value from 0 to 11 that controls the main compression speed-density lever.
    com.google.protobuf.UInt32ValueOrBuilder
    Value from 0 to 11 that controls the main compression speed-density lever.
    int
     
    com.google.protobuf.UInt32Value
    Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.
    com.google.protobuf.UInt32ValueOrBuilder
    Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.
    boolean
    Value for compressor's next output buffer.
    int
     
    boolean
    Value from 16 to 24 that represents the base two logarithmic of the compressor's input block size.
    boolean
    Value from 0 to 11 that controls the main compression speed-density lever.
    boolean
    Value from 10 to 24 that represents the base two logarithmic of the compressor's window size.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Brotli prototype)
     
     
    protected Brotli.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Brotli
     
    static Brotli
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Brotli
    parseFrom(byte[] data)
     
    static Brotli
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Brotli
    parseFrom(com.google.protobuf.ByteString data)
     
    static Brotli
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Brotli
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Brotli
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Brotli
     
    static Brotli
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Brotli
     
    static Brotli
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Brotli>
     
     
    void
    writeTo(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, 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

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.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:
      hasQuality in interface BrotliOrBuilder
      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:
      getQuality in interface BrotliOrBuilder
      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:
      getQualityOrBuilder in interface BrotliOrBuilder
    • 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:
      getEncoderModeValue in interface BrotliOrBuilder
      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:
      getEncoderMode in interface BrotliOrBuilder
      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:
      hasWindowBits in interface BrotliOrBuilder
      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:
      getWindowBits in interface BrotliOrBuilder
      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:
      getWindowBitsOrBuilder in interface BrotliOrBuilder
    • 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:
      hasInputBlockBits in interface BrotliOrBuilder
      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:
      getInputBlockBits in interface BrotliOrBuilder
      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:
      getInputBlockBitsOrBuilder in interface BrotliOrBuilder
    • 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:
      hasChunkSize in interface BrotliOrBuilder
      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:
      getChunkSize in interface BrotliOrBuilder
      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:
      getChunkSizeOrBuilder in interface BrotliOrBuilder
    • 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:
      getDisableLiteralContextModeling in interface BrotliOrBuilder
      Returns:
      The disableLiteralContextModeling.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Brotli.Builder newBuilder()
    • newBuilder

      public static Brotli.Builder newBuilder(Brotli prototype)
    • toBuilder

      public Brotli.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Brotli.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Brotli getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder