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>
- 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.html
Protobuf enumenvoy.extensions.compression.zstd.compressor.v3.Zstd.Strategy
-
-
Field Summary
Fields Modifier and Type Field Description static intBTLAZY2_VALUEBTLAZY2 = 6;static intBTOPT_VALUEBTOPT = 7;static intBTULTRA_VALUEBTULTRA = 8;static intBTULTRA2_VALUEBTULTRA2 = 9;static intDEFAULT_VALUEDEFAULT = 0;static intDFAST_VALUEDFAST = 2;static intFAST_VALUEFAST = 1;static intGREEDY_VALUEGREEDY = 3;static intLAZY_VALUELAZY = 4;static intLAZY2_VALUELAZY2 = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Zstd.StrategyforNumber(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<Zstd.Strategy>internalGetValueMap()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.StrategyvalueOf(String name)Returns 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 Detail
-
DEFAULT
public static final Zstd.Strategy DEFAULT
DEFAULT = 0;
-
FAST
public static final Zstd.Strategy FAST
FAST = 1;
-
DFAST
public static final Zstd.Strategy DFAST
DFAST = 2;
-
GREEDY
public static final Zstd.Strategy GREEDY
GREEDY = 3;
-
LAZY
public static final Zstd.Strategy LAZY
LAZY = 4;
-
LAZY2
public static final Zstd.Strategy LAZY2
LAZY2 = 5;
-
BTLAZY2
public static final Zstd.Strategy BTLAZY2
BTLAZY2 = 6;
-
BTOPT
public static final Zstd.Strategy BTOPT
BTOPT = 7;
-
BTULTRA
public static final Zstd.Strategy BTULTRA
BTULTRA = 8;
-
BTULTRA2
public static final Zstd.Strategy BTULTRA2
BTULTRA2 = 9;
-
UNRECOGNIZED
public static final Zstd.Strategy UNRECOGNIZED
-
-
Field Detail
-
DEFAULT_VALUE
public static final int DEFAULT_VALUE
DEFAULT = 0;- See Also:
- Constant Field Values
-
FAST_VALUE
public static final int FAST_VALUE
FAST = 1;- See Also:
- Constant Field Values
-
DFAST_VALUE
public static final int DFAST_VALUE
DFAST = 2;- See Also:
- Constant Field Values
-
GREEDY_VALUE
public static final int GREEDY_VALUE
GREEDY = 3;- See Also:
- Constant Field Values
-
LAZY_VALUE
public static final int LAZY_VALUE
LAZY = 4;- See Also:
- Constant Field Values
-
LAZY2_VALUE
public static final int LAZY2_VALUE
LAZY2 = 5;- See Also:
- Constant Field Values
-
BTLAZY2_VALUE
public static final int BTLAZY2_VALUE
BTLAZY2 = 6;- See Also:
- Constant Field Values
-
BTOPT_VALUE
public static final int BTOPT_VALUE
BTOPT = 7;- See Also:
- Constant Field Values
-
BTULTRA_VALUE
public static final int BTULTRA_VALUE
BTULTRA = 8;- See Also:
- Constant Field Values
-
BTULTRA2_VALUE
public static final int BTULTRA2_VALUE
BTULTRA2 = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Zstd.Strategy[] 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 (Zstd.Strategy c : Zstd.Strategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Zstd.Strategy 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 Zstd.Strategy 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 Zstd.Strategy 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<Zstd.Strategy> 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 Zstd.Strategy 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
-
-