Class Brotli.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BrotliOrBuilder, java.lang.Cloneable
    Enclosing class:
    Brotli

    public static final class Brotli.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
    implements BrotliOrBuilder
    Protobuf type envoy.extensions.compression.brotli.decompressor.v3.Brotli
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Brotli.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      Brotli build()  
      Brotli buildPartial()  
      Brotli.Builder clear()  
      Brotli.Builder clearChunkSize()
      Value for decompressor's next output buffer.
      Brotli.Builder clearDisableRingBufferReallocation()
      If true, disables "canny" ring buffer allocation strategy.
      Brotli.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      Brotli.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      Brotli.Builder clone()  
      com.google.protobuf.UInt32Value getChunkSize()
      Value for decompressor's next output buffer.
      com.google.protobuf.UInt32Value.Builder getChunkSizeBuilder()
      Value for decompressor's next output buffer.
      com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
      Value for decompressor's next output buffer.
      Brotli getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      boolean getDisableRingBufferReallocation()
      If true, disables "canny" ring buffer allocation strategy.
      boolean hasChunkSize()
      Value for decompressor's next output buffer.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Brotli.Builder mergeChunkSize​(com.google.protobuf.UInt32Value value)
      Value for decompressor's next output buffer.
      Brotli.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Brotli.Builder mergeFrom​(com.google.protobuf.Message other)  
      Brotli.Builder mergeFrom​(Brotli other)  
      Brotli.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Brotli.Builder setChunkSize​(com.google.protobuf.UInt32Value value)
      Value for decompressor's next output buffer.
      Brotli.Builder setChunkSize​(com.google.protobuf.UInt32Value.Builder builderForValue)
      Value for decompressor's next output buffer.
      Brotli.Builder setDisableRingBufferReallocation​(boolean value)
      If true, disables "canny" ring buffer allocation strategy.
      Brotli.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      Brotli.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)  
      Brotli.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      • 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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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.Builder<Brotli.Builder>
      • clear

        public Brotli.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • getDefaultInstanceForType

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

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

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

        public Brotli.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • setField

        public Brotli.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                       java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • clearField

        public Brotli.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • clearOneof

        public Brotli.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • setRepeatedField

        public Brotli.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               int index,
                                               java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • addRepeatedField

        public Brotli.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • mergeFrom

        public Brotli.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Brotli.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • mergeFrom

        public Brotli.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Brotli.Builder>
        Throws:
        java.io.IOException
      • getDisableRingBufferReallocation

        public boolean getDisableRingBufferReallocation()
         If true, disables "canny" ring buffer allocation strategy.
         Ring buffer is allocated according to window size, despite the real size of the content.
         
        bool disable_ring_buffer_reallocation = 1;
        Specified by:
        getDisableRingBufferReallocation in interface BrotliOrBuilder
        Returns:
        The disableRingBufferReallocation.
      • setDisableRingBufferReallocation

        public Brotli.Builder setDisableRingBufferReallocation​(boolean value)
         If true, disables "canny" ring buffer allocation strategy.
         Ring buffer is allocated according to window size, despite the real size of the content.
         
        bool disable_ring_buffer_reallocation = 1;
        Parameters:
        value - The disableRingBufferReallocation to set.
        Returns:
        This builder for chaining.
      • clearDisableRingBufferReallocation

        public Brotli.Builder clearDisableRingBufferReallocation()
         If true, disables "canny" ring buffer allocation strategy.
         Ring buffer is allocated according to window size, despite the real size of the content.
         
        bool disable_ring_buffer_reallocation = 1;
        Returns:
        This builder for chaining.
      • hasChunkSize

        public boolean hasChunkSize()
         Value for decompressor's next output buffer. If not set, defaults to 4096.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
        Specified by:
        hasChunkSize in interface BrotliOrBuilder
        Returns:
        Whether the chunkSize field is set.
      • getChunkSize

        public com.google.protobuf.UInt32Value getChunkSize()
         Value for decompressor's next output buffer. If not set, defaults to 4096.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
        Specified by:
        getChunkSize in interface BrotliOrBuilder
        Returns:
        The chunkSize.
      • setChunkSize

        public Brotli.Builder setChunkSize​(com.google.protobuf.UInt32Value value)
         Value for decompressor's next output buffer. If not set, defaults to 4096.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • setChunkSize

        public Brotli.Builder setChunkSize​(com.google.protobuf.UInt32Value.Builder builderForValue)
         Value for decompressor's next output buffer. If not set, defaults to 4096.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • mergeChunkSize

        public Brotli.Builder mergeChunkSize​(com.google.protobuf.UInt32Value value)
         Value for decompressor's next output buffer. If not set, defaults to 4096.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • clearChunkSize

        public Brotli.Builder clearChunkSize()
         Value for decompressor's next output buffer. If not set, defaults to 4096.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • getChunkSizeBuilder

        public com.google.protobuf.UInt32Value.Builder getChunkSizeBuilder()
         Value for decompressor's next output buffer. If not set, defaults to 4096.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • getChunkSizeOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
         Value for decompressor's next output buffer. If not set, defaults to 4096.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
        Specified by:
        getChunkSizeOrBuilder in interface BrotliOrBuilder
      • setUnknownFields

        public final Brotli.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>
      • mergeUnknownFields

        public final Brotli.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Brotli.Builder>