public enum BackendBucket.CompressionMode extends Enum<BackendBucket.CompressionMode> implements ProtocolMessageEnum
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
Protobuf enum google.cloud.compute.v1.BackendBucket.CompressionMode
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
AUTOMATIC |
Automatically uses the best compression based on the Accept-Encoding header sent by the client. |
AUTOMATIC_VALUE |
Automatically uses the best compression based on the Accept-Encoding header sent by the client. |
DISABLED |
Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. |
DISABLED_VALUE |
Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. |
UNDEFINED_COMPRESSION_MODE |
A value indicating that the enum field is not set. |
UNDEFINED_COMPRESSION_MODE_VALUE |
A value indicating that the enum field is not set. |
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() |