public static enum Gzip.CompressionLevel extends Enum<Gzip.CompressionLevel> implements com.google.protobuf.ProtocolMessageEnum
envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel
Enum Constant and Description |
---|
BEST_SPEED
BEST_SPEED = 1; |
COMPRESSION_LEVEL_2
COMPRESSION_LEVEL_2 = 2; |
COMPRESSION_LEVEL_3
COMPRESSION_LEVEL_3 = 3; |
COMPRESSION_LEVEL_4
COMPRESSION_LEVEL_4 = 4; |
COMPRESSION_LEVEL_5
COMPRESSION_LEVEL_5 = 5; |
COMPRESSION_LEVEL_6
COMPRESSION_LEVEL_6 = 6; |
COMPRESSION_LEVEL_7
COMPRESSION_LEVEL_7 = 7; |
COMPRESSION_LEVEL_8
COMPRESSION_LEVEL_8 = 8; |
COMPRESSION_LEVEL_9
COMPRESSION_LEVEL_9 = 9; |
DEFAULT_COMPRESSION
DEFAULT_COMPRESSION = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static Gzip.CompressionLevel |
BEST_COMPRESSION
BEST_COMPRESSION = 9; |
static int |
BEST_COMPRESSION_VALUE
BEST_COMPRESSION = 9; |
static int |
BEST_SPEED_VALUE
BEST_SPEED = 1; |
static Gzip.CompressionLevel |
COMPRESSION_LEVEL_1
COMPRESSION_LEVEL_1 = 1; |
static int |
COMPRESSION_LEVEL_1_VALUE
COMPRESSION_LEVEL_1 = 1; |
static int |
COMPRESSION_LEVEL_2_VALUE
COMPRESSION_LEVEL_2 = 2; |
static int |
COMPRESSION_LEVEL_3_VALUE
COMPRESSION_LEVEL_3 = 3; |
static int |
COMPRESSION_LEVEL_4_VALUE
COMPRESSION_LEVEL_4 = 4; |
static int |
COMPRESSION_LEVEL_5_VALUE
COMPRESSION_LEVEL_5 = 5; |
static int |
COMPRESSION_LEVEL_6_VALUE
COMPRESSION_LEVEL_6 = 6; |
static int |
COMPRESSION_LEVEL_7_VALUE
COMPRESSION_LEVEL_7 = 7; |
static int |
COMPRESSION_LEVEL_8_VALUE
COMPRESSION_LEVEL_8 = 8; |
static int |
COMPRESSION_LEVEL_9_VALUE
COMPRESSION_LEVEL_9 = 9; |
static int |
DEFAULT_COMPRESSION_VALUE
DEFAULT_COMPRESSION = 0; |
Modifier and Type | Method and Description |
---|---|
static Gzip.CompressionLevel |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Gzip.CompressionLevel> |
internalGetValueMap() |
static Gzip.CompressionLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Gzip.CompressionLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Gzip.CompressionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gzip.CompressionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gzip.CompressionLevel DEFAULT_COMPRESSION
DEFAULT_COMPRESSION = 0;
public static final Gzip.CompressionLevel BEST_SPEED
BEST_SPEED = 1;
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_2
COMPRESSION_LEVEL_2 = 2;
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_3
COMPRESSION_LEVEL_3 = 3;
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_4
COMPRESSION_LEVEL_4 = 4;
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_5
COMPRESSION_LEVEL_5 = 5;
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_6
COMPRESSION_LEVEL_6 = 6;
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_7
COMPRESSION_LEVEL_7 = 7;
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_8
COMPRESSION_LEVEL_8 = 8;
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_9
COMPRESSION_LEVEL_9 = 9;
public static final Gzip.CompressionLevel UNRECOGNIZED
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_1
COMPRESSION_LEVEL_1 = 1;
public static final Gzip.CompressionLevel BEST_COMPRESSION
BEST_COMPRESSION = 9;
public static final int DEFAULT_COMPRESSION_VALUE
DEFAULT_COMPRESSION = 0;
public static final int BEST_SPEED_VALUE
BEST_SPEED = 1;
public static final int COMPRESSION_LEVEL_1_VALUE
COMPRESSION_LEVEL_1 = 1;
public static final int COMPRESSION_LEVEL_2_VALUE
COMPRESSION_LEVEL_2 = 2;
public static final int COMPRESSION_LEVEL_3_VALUE
COMPRESSION_LEVEL_3 = 3;
public static final int COMPRESSION_LEVEL_4_VALUE
COMPRESSION_LEVEL_4 = 4;
public static final int COMPRESSION_LEVEL_5_VALUE
COMPRESSION_LEVEL_5 = 5;
public static final int COMPRESSION_LEVEL_6_VALUE
COMPRESSION_LEVEL_6 = 6;
public static final int COMPRESSION_LEVEL_7_VALUE
COMPRESSION_LEVEL_7 = 7;
public static final int COMPRESSION_LEVEL_8_VALUE
COMPRESSION_LEVEL_8 = 8;
public static final int COMPRESSION_LEVEL_9_VALUE
COMPRESSION_LEVEL_9 = 9;
public static final int BEST_COMPRESSION_VALUE
BEST_COMPRESSION = 9;
public static Gzip.CompressionLevel[] values()
for (Gzip.CompressionLevel c : Gzip.CompressionLevel.values()) System.out.println(c);
public static Gzip.CompressionLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Gzip.CompressionLevel valueOf(int value)
forNumber(int)
instead.public static Gzip.CompressionLevel forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Gzip.CompressionLevel> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Gzip.CompressionLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.