Enum Gzip.CompressionLevel
java.lang.Object
java.lang.Enum<Gzip.CompressionLevel>
io.envoyproxy.envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Gzip.CompressionLevel>,java.lang.constant.Constable
- Enclosing class:
- Gzip
public static enum Gzip.CompressionLevel
extends Enum<Gzip.CompressionLevel>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
envoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBEST_SPEED = 1;COMPRESSION_LEVEL_2 = 2;COMPRESSION_LEVEL_3 = 3;COMPRESSION_LEVEL_4 = 4;COMPRESSION_LEVEL_5 = 5;COMPRESSION_LEVEL_6 = 6;COMPRESSION_LEVEL_7 = 7;COMPRESSION_LEVEL_8 = 8;COMPRESSION_LEVEL_9 = 9;DEFAULT_COMPRESSION = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Gzip.CompressionLevelBEST_COMPRESSION = 9;static final intBEST_COMPRESSION = 9;static final intBEST_SPEED = 1;static final Gzip.CompressionLevelCOMPRESSION_LEVEL_1 = 1;static final intCOMPRESSION_LEVEL_1 = 1;static final intCOMPRESSION_LEVEL_2 = 2;static final intCOMPRESSION_LEVEL_3 = 3;static final intCOMPRESSION_LEVEL_4 = 4;static final intCOMPRESSION_LEVEL_5 = 5;static final intCOMPRESSION_LEVEL_6 = 6;static final intCOMPRESSION_LEVEL_7 = 7;static final intCOMPRESSION_LEVEL_8 = 8;static final intCOMPRESSION_LEVEL_9 = 9;static final intDEFAULT_COMPRESSION = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Gzip.CompressionLevelforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Gzip.CompressionLevel>static Gzip.CompressionLevelvalueOf(int value) Deprecated.static Gzip.CompressionLevelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Gzip.CompressionLevelReturns 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.
-
Enum Constant Details
-
DEFAULT_COMPRESSION
DEFAULT_COMPRESSION = 0; -
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; -
UNRECOGNIZED
-
-
Field Details
-
COMPRESSION_LEVEL_1
COMPRESSION_LEVEL_1 = 1; -
BEST_COMPRESSION
BEST_COMPRESSION = 9; -
DEFAULT_COMPRESSION_VALUE
public static final int DEFAULT_COMPRESSION_VALUEDEFAULT_COMPRESSION = 0;- See Also:
-
BEST_SPEED_VALUE
public static final int BEST_SPEED_VALUEBEST_SPEED = 1;- See Also:
-
COMPRESSION_LEVEL_1_VALUE
public static final int COMPRESSION_LEVEL_1_VALUECOMPRESSION_LEVEL_1 = 1;- See Also:
-
COMPRESSION_LEVEL_2_VALUE
public static final int COMPRESSION_LEVEL_2_VALUECOMPRESSION_LEVEL_2 = 2;- See Also:
-
COMPRESSION_LEVEL_3_VALUE
public static final int COMPRESSION_LEVEL_3_VALUECOMPRESSION_LEVEL_3 = 3;- See Also:
-
COMPRESSION_LEVEL_4_VALUE
public static final int COMPRESSION_LEVEL_4_VALUECOMPRESSION_LEVEL_4 = 4;- See Also:
-
COMPRESSION_LEVEL_5_VALUE
public static final int COMPRESSION_LEVEL_5_VALUECOMPRESSION_LEVEL_5 = 5;- See Also:
-
COMPRESSION_LEVEL_6_VALUE
public static final int COMPRESSION_LEVEL_6_VALUECOMPRESSION_LEVEL_6 = 6;- See Also:
-
COMPRESSION_LEVEL_7_VALUE
public static final int COMPRESSION_LEVEL_7_VALUECOMPRESSION_LEVEL_7 = 7;- See Also:
-
COMPRESSION_LEVEL_8_VALUE
public static final int COMPRESSION_LEVEL_8_VALUECOMPRESSION_LEVEL_8 = 8;- See Also:
-
COMPRESSION_LEVEL_9_VALUE
public static final int COMPRESSION_LEVEL_9_VALUECOMPRESSION_LEVEL_9 = 9;- See Also:
-
BEST_COMPRESSION_VALUE
public static final int BEST_COMPRESSION_VALUEBEST_COMPRESSION = 9;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Gzip.CompressionLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-