Enum BackendBucket.CompressionMode (1.47.0)

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

ProtocolMessageEnum

Static Fields

NameDescription
AUTOMATIC

Automatically uses the best compression based on the Accept-Encoding header sent by the client.

AUTOMATIC = 165298699;

AUTOMATIC_VALUE

Automatically uses the best compression based on the Accept-Encoding header sent by the client.

AUTOMATIC = 165298699;

DISABLED

Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients.

DISABLED = 516696700;

DISABLED_VALUE

Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients.

DISABLED = 516696700;

UNDEFINED_COMPRESSION_MODE

A value indicating that the enum field is not set.

UNDEFINED_COMPRESSION_MODE = 0;

UNDEFINED_COMPRESSION_MODE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_COMPRESSION_MODE = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()