Enum Zstd.Strategy
java.lang.Object
java.lang.Enum<Zstd.Strategy>
io.envoyproxy.envoy.extensions.compression.zstd.compressor.v3.Zstd.Strategy
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Zstd.Strategy>,java.lang.constant.Constable
- Enclosing class:
- Zstd
public static enum Zstd.Strategy
extends Enum<Zstd.Strategy>
implements com.google.protobuf.ProtocolMessageEnum
Reference to http://facebook.github.io/zstd/zstd_manual.htmlProtobuf enum
envoy.extensions.compression.zstd.compressor.v3.Zstd.Strategy-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBTLAZY2 = 6;static final intBTOPT = 7;static final intBTULTRA = 8;static final intBTULTRA2 = 9;static final intDEFAULT = 0;static final intDFAST = 2;static final intFAST = 1;static final intGREEDY = 3;static final intLAZY = 4;static final intLAZY2 = 5; -
Method Summary
Modifier and TypeMethodDescriptionstatic Zstd.StrategyforNumber(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<Zstd.Strategy>static Zstd.StrategyvalueOf(int value) Deprecated.static Zstd.StrategyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Zstd.StrategyReturns the enum constant of this type with the specified name.static Zstd.Strategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
DEFAULT = 0; -
FAST
FAST = 1; -
DFAST
DFAST = 2; -
GREEDY
GREEDY = 3; -
LAZY
LAZY = 4; -
LAZY2
LAZY2 = 5; -
BTLAZY2
BTLAZY2 = 6; -
BTOPT
BTOPT = 7; -
BTULTRA
BTULTRA = 8; -
BTULTRA2
BTULTRA2 = 9; -
UNRECOGNIZED
-
-
Field Details
-
DEFAULT_VALUE
public static final int DEFAULT_VALUEDEFAULT = 0;- See Also:
-
FAST_VALUE
public static final int FAST_VALUEFAST = 1;- See Also:
-
DFAST_VALUE
public static final int DFAST_VALUEDFAST = 2;- See Also:
-
GREEDY_VALUE
public static final int GREEDY_VALUEGREEDY = 3;- See Also:
-
LAZY_VALUE
public static final int LAZY_VALUELAZY = 4;- See Also:
-
LAZY2_VALUE
public static final int LAZY2_VALUELAZY2 = 5;- See Also:
-
BTLAZY2_VALUE
public static final int BTLAZY2_VALUEBTLAZY2 = 6;- See Also:
-
BTOPT_VALUE
public static final int BTOPT_VALUEBTOPT = 7;- See Also:
-
BTULTRA_VALUE
public static final int BTULTRA_VALUEBTULTRA = 8;- See Also:
-
BTULTRA2_VALUE
public static final int BTULTRA2_VALUEBTULTRA2 = 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
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
-