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>
- Enclosing class:
- Gzip
public static enum Gzip.CompressionLevel extends Enum<Gzip.CompressionLevel> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumenvoy.extensions.compression.gzip.compressor.v3.Gzip.CompressionLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEST_SPEEDBEST_SPEED = 1;COMPRESSION_LEVEL_2COMPRESSION_LEVEL_2 = 2;COMPRESSION_LEVEL_3COMPRESSION_LEVEL_3 = 3;COMPRESSION_LEVEL_4COMPRESSION_LEVEL_4 = 4;COMPRESSION_LEVEL_5COMPRESSION_LEVEL_5 = 5;COMPRESSION_LEVEL_6COMPRESSION_LEVEL_6 = 6;COMPRESSION_LEVEL_7COMPRESSION_LEVEL_7 = 7;COMPRESSION_LEVEL_8COMPRESSION_LEVEL_8 = 8;COMPRESSION_LEVEL_9COMPRESSION_LEVEL_9 = 9;DEFAULT_COMPRESSIONDEFAULT_COMPRESSION = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static Gzip.CompressionLevelBEST_COMPRESSIONBEST_COMPRESSION = 9;static intBEST_COMPRESSION_VALUEBEST_COMPRESSION = 9;static intBEST_SPEED_VALUEBEST_SPEED = 1;static Gzip.CompressionLevelCOMPRESSION_LEVEL_1COMPRESSION_LEVEL_1 = 1;static intCOMPRESSION_LEVEL_1_VALUECOMPRESSION_LEVEL_1 = 1;static intCOMPRESSION_LEVEL_2_VALUECOMPRESSION_LEVEL_2 = 2;static intCOMPRESSION_LEVEL_3_VALUECOMPRESSION_LEVEL_3 = 3;static intCOMPRESSION_LEVEL_4_VALUECOMPRESSION_LEVEL_4 = 4;static intCOMPRESSION_LEVEL_5_VALUECOMPRESSION_LEVEL_5 = 5;static intCOMPRESSION_LEVEL_6_VALUECOMPRESSION_LEVEL_6 = 6;static intCOMPRESSION_LEVEL_7_VALUECOMPRESSION_LEVEL_7 = 7;static intCOMPRESSION_LEVEL_8_VALUECOMPRESSION_LEVEL_8 = 8;static intCOMPRESSION_LEVEL_9_VALUECOMPRESSION_LEVEL_9 = 9;static intDEFAULT_COMPRESSION_VALUEDEFAULT_COMPRESSION = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Gzip.CompressionLevelforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Gzip.CompressionLevel>internalGetValueMap()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.CompressionLevelvalueOf(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.
-
-
-
Enum Constant Detail
-
DEFAULT_COMPRESSION
public static final Gzip.CompressionLevel DEFAULT_COMPRESSION
DEFAULT_COMPRESSION = 0;
-
BEST_SPEED
public static final Gzip.CompressionLevel BEST_SPEED
BEST_SPEED = 1;
-
COMPRESSION_LEVEL_2
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_2
COMPRESSION_LEVEL_2 = 2;
-
COMPRESSION_LEVEL_3
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_3
COMPRESSION_LEVEL_3 = 3;
-
COMPRESSION_LEVEL_4
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_4
COMPRESSION_LEVEL_4 = 4;
-
COMPRESSION_LEVEL_5
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_5
COMPRESSION_LEVEL_5 = 5;
-
COMPRESSION_LEVEL_6
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_6
COMPRESSION_LEVEL_6 = 6;
-
COMPRESSION_LEVEL_7
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_7
COMPRESSION_LEVEL_7 = 7;
-
COMPRESSION_LEVEL_8
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_8
COMPRESSION_LEVEL_8 = 8;
-
COMPRESSION_LEVEL_9
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_9
COMPRESSION_LEVEL_9 = 9;
-
UNRECOGNIZED
public static final Gzip.CompressionLevel UNRECOGNIZED
-
-
Field Detail
-
COMPRESSION_LEVEL_1
public static final Gzip.CompressionLevel COMPRESSION_LEVEL_1
COMPRESSION_LEVEL_1 = 1;
-
BEST_COMPRESSION
public static final Gzip.CompressionLevel BEST_COMPRESSION
BEST_COMPRESSION = 9;
-
DEFAULT_COMPRESSION_VALUE
public static final int DEFAULT_COMPRESSION_VALUE
DEFAULT_COMPRESSION = 0;- See Also:
- Constant Field Values
-
BEST_SPEED_VALUE
public static final int BEST_SPEED_VALUE
BEST_SPEED = 1;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_1_VALUE
public static final int COMPRESSION_LEVEL_1_VALUE
COMPRESSION_LEVEL_1 = 1;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_2_VALUE
public static final int COMPRESSION_LEVEL_2_VALUE
COMPRESSION_LEVEL_2 = 2;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_3_VALUE
public static final int COMPRESSION_LEVEL_3_VALUE
COMPRESSION_LEVEL_3 = 3;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_4_VALUE
public static final int COMPRESSION_LEVEL_4_VALUE
COMPRESSION_LEVEL_4 = 4;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_5_VALUE
public static final int COMPRESSION_LEVEL_5_VALUE
COMPRESSION_LEVEL_5 = 5;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_6_VALUE
public static final int COMPRESSION_LEVEL_6_VALUE
COMPRESSION_LEVEL_6 = 6;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_7_VALUE
public static final int COMPRESSION_LEVEL_7_VALUE
COMPRESSION_LEVEL_7 = 7;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_8_VALUE
public static final int COMPRESSION_LEVEL_8_VALUE
COMPRESSION_LEVEL_8 = 8;- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL_9_VALUE
public static final int COMPRESSION_LEVEL_9_VALUE
COMPRESSION_LEVEL_9 = 9;- See Also:
- Constant Field Values
-
BEST_COMPRESSION_VALUE
public static final int BEST_COMPRESSION_VALUE
BEST_COMPRESSION = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Gzip.CompressionLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Gzip.CompressionLevel c : Gzip.CompressionLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Gzip.CompressionLevel valueOf(String name)
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 public static Gzip.CompressionLevel valueOf(int value)
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
public static Gzip.CompressionLevel forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Gzip.CompressionLevel> 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
-
-