Send feedback
Enum Compression.CompressionAlgorithm (1.157.0)
Stay organized with collections
Save and categorize content based on your preferences.
1.157.0 (latest)
1.153.0
1.152.0
1.151.0
1.150.1
1.149.0
1.148.0
1.147.0
1.145.0
1.143.1
1.142.0
1.141.5
1.140.2
1.139.4
1.138.0
1.137.1
1.136.1
1.135.0
1.134.2
1.133.1
1.132.2
1.131.0
1.130.0
1.129.6
1.127.3
1.126.6
1.125.13
1.123.18
1.122.2
1.121.1
1.120.24
1.119.1
1.118.0
1.117.0
1.116.4
1.115.5
public enum Compression . CompressionAlgorithm extends Enum<Compression . CompressionAlgorithm > implements ProtocolMessageEnum
The compression algorithm to use.
Protobuf enum google.pubsub.v1.Compression.CompressionAlgorithm
Static Fields
Name
Description
COMPRESSION_ALGORITHM_UNSPECIFIED
Unspecified algorithm.
COMPRESSION_ALGORITHM_UNSPECIFIED = 0;
COMPRESSION_ALGORITHM_UNSPECIFIED_VALUE
Unspecified algorithm.
COMPRESSION_ALGORITHM_UNSPECIFIED = 0;
UNRECOGNIZED
ZLIB
ZLIB compression.
ZLIB = 1;
ZLIB_VALUE
ZLIB compression.
ZLIB = 1;
Static Methods
Name
Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)
Deprecated. Use #forNumber(int) instead.
valueOf(String name)
values()
Methods
Name
Description
getDescriptorForType()
getNumber()
getValueDescriptor()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-06 UTC."],[],[]]