Send feedback
Enum Compression.CompressionMode (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 . CompressionMode extends Enum<Compression . CompressionMode > implements ProtocolMessageEnum
The mode of the compression SMT.
Protobuf enum google.pubsub.v1.Compression.CompressionMode
Static Fields
Name
Description
COMPRESS
Compress.
COMPRESS = 1;
COMPRESSION_MODE_UNSPECIFIED
Unspecified mode.
COMPRESSION_MODE_UNSPECIFIED = 0;
COMPRESSION_MODE_UNSPECIFIED_VALUE
Unspecified mode.
COMPRESSION_MODE_UNSPECIFIED = 0;
COMPRESS_VALUE
Compress.
COMPRESS = 1;
DECOMPRESS
Decompress.
DECOMPRESS = 2;
DECOMPRESS_VALUE
Decompress.
DECOMPRESS = 2;
UNRECOGNIZED
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."],[],[]]