Enum Class StorageTypes.CompressionProto
java.lang.Object
java.lang.Enum<StorageTypes.CompressionProto>
org.projectnessie.versioned.storage.common.proto.StorageTypes.CompressionProto
- All Implemented Interfaces:
Serializable,Comparable<StorageTypes.CompressionProto>,Constable,org.projectnessie.nessie.relocated.protobuf.Internal.EnumLite,org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
- Enclosing class:
- StorageTypes
public static enum StorageTypes.CompressionProto
extends Enum<StorageTypes.CompressionProto>
implements org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
Protobuf enum
nessie.storage.CompressionProto-
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 intC_UNKNOWN = 0;static final intDEFLATE = 3;static final intGZIP = 2;static final intLZ4 = 5;static final intNONE = 1;static final intSNAPPY = 6;static final intZSTD = 4; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumDescriptorfinal org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumDescriptorfinal intfinal org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptorstatic org.projectnessie.nessie.relocated.protobuf.Internal.EnumLiteMap<StorageTypes.CompressionProto>valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.valueOf(org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static StorageTypes.CompressionProto[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
C_UNKNOWN
C_UNKNOWN = 0; -
NONE
NONE = 1; -
GZIP
GZIP = 2; -
DEFLATE
DEFLATE = 3; -
ZSTD
ZSTD = 4; -
LZ4
LZ4 = 5; -
SNAPPY
SNAPPY = 6; -
UNRECOGNIZED
-
-
Field Details
-
C_UNKNOWN_VALUE
public static final int C_UNKNOWN_VALUEC_UNKNOWN = 0;- See Also:
-
NONE_VALUE
public static final int NONE_VALUENONE = 1;- See Also:
-
GZIP_VALUE
public static final int GZIP_VALUEGZIP = 2;- See Also:
-
DEFLATE_VALUE
public static final int DEFLATE_VALUEDEFLATE = 3;- See Also:
-
ZSTD_VALUE
public static final int ZSTD_VALUEZSTD = 4;- See Also:
-
LZ4_VALUE
public static final int LZ4_VALUELZ4 = 5;- See Also:
-
SNAPPY_VALUE
public static final int SNAPPY_VALUESNAPPY = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfaceorg.projectnessie.nessie.relocated.protobuf.Internal.EnumLite- Specified by:
getNumberin interfaceorg.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
public static org.projectnessie.nessie.relocated.protobuf.Internal.EnumLiteMap<StorageTypes.CompressionProto> internalGetValueMap() -
getValueDescriptor
public final org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfaceorg.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static StorageTypes.CompressionProto valueOf(org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-