Class Gzip.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
- io.envoyproxy.envoy.extensions.compression.gzip.decompressor.v3.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 typeenvoy.extensions.compression.gzip.decompressor.v3.Gzip
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Gzip.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Gzipbuild()GzipbuildPartial()Gzip.Builderclear()Gzip.BuilderclearChunkSize()Value for zlib's decompressor output buffer.Gzip.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Gzip.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Gzip.BuilderclearWindowBits()Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.Gzip.Builderclone()com.google.protobuf.UInt32ValuegetChunkSize()Value for zlib's decompressor output buffer.com.google.protobuf.UInt32Value.BuildergetChunkSizeBuilder()Value for zlib's decompressor output buffer.com.google.protobuf.UInt32ValueOrBuildergetChunkSizeOrBuilder()Value for zlib's decompressor output buffer.GzipgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetWindowBits()Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.com.google.protobuf.UInt32Value.BuildergetWindowBitsBuilder()Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.com.google.protobuf.UInt32ValueOrBuildergetWindowBitsOrBuilder()Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.booleanhasChunkSize()Value for zlib's decompressor output buffer.booleanhasWindowBits()Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Gzip.BuildermergeChunkSize(com.google.protobuf.UInt32Value value)Value for zlib's decompressor output buffer.Gzip.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Gzip.BuildermergeFrom(com.google.protobuf.Message other)Gzip.BuildermergeFrom(Gzip other)Gzip.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Gzip.BuildermergeWindowBits(com.google.protobuf.UInt32Value value)Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.Gzip.BuildersetChunkSize(com.google.protobuf.UInt32Value value)Value for zlib's decompressor output buffer.Gzip.BuildersetChunkSize(com.google.protobuf.UInt32Value.Builder builderForValue)Value for zlib's decompressor output buffer.Gzip.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Gzip.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Gzip.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Gzip.BuildersetWindowBits(com.google.protobuf.UInt32Value value)Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.Gzip.BuildersetWindowBits(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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Gzip.Builder>
-
clear
public Gzip.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
getDefaultInstanceForType
public Gzip getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gzip build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gzip buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gzip.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
setField
public Gzip.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
clearField
public Gzip.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
clearOneof
public Gzip.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
setRepeatedField
public Gzip.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
addRepeatedField
public Gzip.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
mergeFrom
public Gzip.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Gzip.Builder>
-
mergeFrom
public Gzip.Builder mergeFrom(Gzip other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasWindowBitsin interfaceGzipOrBuilder- 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:
getWindowBitsin interfaceGzipOrBuilder- 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:
getWindowBitsOrBuilderin interfaceGzipOrBuilder
-
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:
hasChunkSizein interfaceGzipOrBuilder- 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:
getChunkSizein interfaceGzipOrBuilder- 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:
getChunkSizeOrBuilderin interfaceGzipOrBuilder
-
setUnknownFields
public final Gzip.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
mergeUnknownFields
public final Gzip.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gzip.Builder>
-
-