Class Gzip.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GzipOrBuilder, Cloneable
    Enclosing class:
    Gzip

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Gzip.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      Gzip build()  
      Gzip buildPartial()  
      Gzip.Builder clear()  
      Gzip.Builder clearChunkSize()
      Value for zlib's decompressor output buffer.
      Gzip.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      Gzip.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      Gzip.Builder clearWindowBits()
      Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
      Gzip.Builder clone()  
      com.google.protobuf.UInt32Value getChunkSize()
      Value for zlib's decompressor output buffer.
      com.google.protobuf.UInt32Value.Builder getChunkSizeBuilder()
      Value for zlib's decompressor output buffer.
      com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
      Value for zlib's decompressor output buffer.
      Gzip getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.protobuf.UInt32Value getWindowBits()
      Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
      com.google.protobuf.UInt32Value.Builder getWindowBitsBuilder()
      Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
      com.google.protobuf.UInt32ValueOrBuilder getWindowBitsOrBuilder()
      Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
      boolean hasChunkSize()
      Value for zlib's decompressor output buffer.
      boolean hasWindowBits()
      Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Gzip.Builder mergeChunkSize​(com.google.protobuf.UInt32Value value)
      Value for zlib's decompressor output buffer.
      Gzip.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Gzip.Builder mergeFrom​(com.google.protobuf.Message other)  
      Gzip.Builder mergeFrom​(Gzip other)  
      Gzip.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Gzip.Builder mergeWindowBits​(com.google.protobuf.UInt32Value value)
      Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
      Gzip.Builder setChunkSize​(com.google.protobuf.UInt32Value value)
      Value for zlib's decompressor output buffer.
      Gzip.Builder setChunkSize​(com.google.protobuf.UInt32Value.Builder builderForValue)
      Value for zlib's decompressor output buffer.
      Gzip.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      Gzip.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)  
      Gzip.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Gzip.Builder setWindowBits​(com.google.protobuf.UInt32Value value)
      Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
      Gzip.Builder setWindowBits​(com.google.protobuf.UInt32Value.Builder builderForValue)
      Value from 9 to 15 that represents the base two logarithmic of the decompressor'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 interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • 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<Gzip.Builder>
      • clear

        public Gzip.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<Gzip.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<Gzip.Builder>
      • getDefaultInstanceForType

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

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

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

        public Gzip.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<Gzip.Builder>
      • setField

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

        public Gzip.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<Gzip.Builder>
      • clearOneof

        public Gzip.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<Gzip.Builder>
      • setRepeatedField

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

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

        public Gzip.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<Gzip.Builder>
      • isInitialized

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

        public Gzip.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws 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<Gzip.Builder>
        Throws:
        IOException
      • hasWindowBits

        public boolean hasWindowBits()
         Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
         The decompression window size needs to be equal or larger than the compression window size.
         The default window size is 15.
         This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
         For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
         
        .google.protobuf.UInt32Value window_bits = 1 [(.validate.rules) = { ... }
        Specified by:
        hasWindowBits in interface GzipOrBuilder
        Returns:
        Whether the windowBits field is set.
      • getWindowBits

        public com.google.protobuf.UInt32Value getWindowBits()
         Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
         The decompression window size needs to be equal or larger than the compression window size.
         The default window size is 15.
         This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
         For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
         
        .google.protobuf.UInt32Value window_bits = 1 [(.validate.rules) = { ... }
        Specified by:
        getWindowBits in interface GzipOrBuilder
        Returns:
        The windowBits.
      • setWindowBits

        public Gzip.Builder setWindowBits​(com.google.protobuf.UInt32Value value)
         Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
         The decompression window size needs to be equal or larger than the compression window size.
         The default window size is 15.
         This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
         For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
         
        .google.protobuf.UInt32Value window_bits = 1 [(.validate.rules) = { ... }
      • setWindowBits

        public Gzip.Builder setWindowBits​(com.google.protobuf.UInt32Value.Builder builderForValue)
         Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
         The decompression window size needs to be equal or larger than the compression window size.
         The default window size is 15.
         This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
         For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
         
        .google.protobuf.UInt32Value window_bits = 1 [(.validate.rules) = { ... }
      • mergeWindowBits

        public Gzip.Builder mergeWindowBits​(com.google.protobuf.UInt32Value value)
         Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
         The decompression window size needs to be equal or larger than the compression window size.
         The default window size is 15.
         This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
         For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
         
        .google.protobuf.UInt32Value window_bits = 1 [(.validate.rules) = { ... }
      • clearWindowBits

        public Gzip.Builder clearWindowBits()
         Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
         The decompression window size needs to be equal or larger than the compression window size.
         The default window size is 15.
         This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
         For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
         
        .google.protobuf.UInt32Value window_bits = 1 [(.validate.rules) = { ... }
      • getWindowBitsBuilder

        public com.google.protobuf.UInt32Value.Builder getWindowBitsBuilder()
         Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
         The decompression window size needs to be equal or larger than the compression window size.
         The default window size is 15.
         This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
         For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
         
        .google.protobuf.UInt32Value window_bits = 1 [(.validate.rules) = { ... }
      • getWindowBitsOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getWindowBitsOrBuilder()
         Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
         The decompression window size needs to be equal or larger than the compression window size.
         The default window size is 15.
         This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
         For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
         
        .google.protobuf.UInt32Value window_bits = 1 [(.validate.rules) = { ... }
        Specified by:
        getWindowBitsOrBuilder in interface GzipOrBuilder
      • hasChunkSize

        public boolean hasChunkSize()
         Value for zlib's decompressor output buffer. If not set, defaults to 4096.
         See https://www.zlib.net/manual.html for more details.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
        Specified by:
        hasChunkSize in interface GzipOrBuilder
        Returns:
        Whether the chunkSize field is set.
      • getChunkSize

        public com.google.protobuf.UInt32Value getChunkSize()
         Value for zlib's decompressor output buffer. If not set, defaults to 4096.
         See https://www.zlib.net/manual.html for more details.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
        Specified by:
        getChunkSize in interface GzipOrBuilder
        Returns:
        The chunkSize.
      • setChunkSize

        public Gzip.Builder setChunkSize​(com.google.protobuf.UInt32Value value)
         Value for zlib's decompressor output buffer. If not set, defaults to 4096.
         See https://www.zlib.net/manual.html for more details.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • setChunkSize

        public Gzip.Builder setChunkSize​(com.google.protobuf.UInt32Value.Builder builderForValue)
         Value for zlib's decompressor output buffer. If not set, defaults to 4096.
         See https://www.zlib.net/manual.html for more details.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • mergeChunkSize

        public Gzip.Builder mergeChunkSize​(com.google.protobuf.UInt32Value value)
         Value for zlib's decompressor output buffer. If not set, defaults to 4096.
         See https://www.zlib.net/manual.html for more details.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • clearChunkSize

        public Gzip.Builder clearChunkSize()
         Value for zlib's decompressor output buffer. If not set, defaults to 4096.
         See https://www.zlib.net/manual.html for more details.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • getChunkSizeBuilder

        public com.google.protobuf.UInt32Value.Builder getChunkSizeBuilder()
         Value for zlib's decompressor output buffer. If not set, defaults to 4096.
         See https://www.zlib.net/manual.html for more details.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      • getChunkSizeOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
         Value for zlib's decompressor output buffer. If not set, defaults to 4096.
         See https://www.zlib.net/manual.html for more details.
         
        .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
        Specified by:
        getChunkSizeOrBuilder in interface GzipOrBuilder
      • setUnknownFields

        public final Gzip.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<Gzip.Builder>
      • mergeUnknownFields

        public final Gzip.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<Gzip.Builder>