Enum StorageTypes.CompressionProto
- java.lang.Object
-
- java.lang.Enum<StorageTypes.CompressionProto>
-
- org.projectnessie.versioned.storage.common.proto.StorageTypes.CompressionProto
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StorageTypes.CompressionProto>,org.projectnessie.nessie.relocated.protobuf.Internal.EnumLite,org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
- Enclosing class:
- StorageTypes
public static enum StorageTypes.CompressionProto extends java.lang.Enum<StorageTypes.CompressionProto> implements org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
Protobuf enumnessie.storage.CompressionProto
-
-
Field Summary
Fields Modifier and Type Field Description static intC_UNKNOWN_VALUEC_UNKNOWN = 0;static intDEFLATE_VALUEDEFLATE = 3;static intGZIP_VALUEGZIP = 2;static intLZ4_VALUELZ4 = 5;static intNONE_VALUENONE = 1;static intZSTD_VALUEZSTD = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StorageTypes.CompressionProtoforNumber(int value)static org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumDescriptorgetDescriptor()org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static org.projectnessie.nessie.relocated.protobuf.Internal.EnumLiteMap<StorageTypes.CompressionProto>internalGetValueMap()static StorageTypes.CompressionProtovalueOf(int value)Deprecated.static StorageTypes.CompressionProtovalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StorageTypes.CompressionProtovalueOf(org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static StorageTypes.CompressionProto[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
C_UNKNOWN
public static final StorageTypes.CompressionProto C_UNKNOWN
C_UNKNOWN = 0;
-
NONE
public static final StorageTypes.CompressionProto NONE
NONE = 1;
-
GZIP
public static final StorageTypes.CompressionProto GZIP
GZIP = 2;
-
DEFLATE
public static final StorageTypes.CompressionProto DEFLATE
DEFLATE = 3;
-
ZSTD
public static final StorageTypes.CompressionProto ZSTD
ZSTD = 4;
-
LZ4
public static final StorageTypes.CompressionProto LZ4
LZ4 = 5;
-
UNRECOGNIZED
public static final StorageTypes.CompressionProto UNRECOGNIZED
-
-
Field Detail
-
C_UNKNOWN_VALUE
public static final int C_UNKNOWN_VALUE
C_UNKNOWN = 0;- See Also:
- Constant Field Values
-
NONE_VALUE
public static final int NONE_VALUE
NONE = 1;- See Also:
- Constant Field Values
-
GZIP_VALUE
public static final int GZIP_VALUE
GZIP = 2;- See Also:
- Constant Field Values
-
DEFLATE_VALUE
public static final int DEFLATE_VALUE
DEFLATE = 3;- See Also:
- Constant Field Values
-
ZSTD_VALUE
public static final int ZSTD_VALUE
ZSTD = 4;- See Also:
- Constant Field Values
-
LZ4_VALUE
public static final int LZ4_VALUE
LZ4 = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static StorageTypes.CompressionProto[] 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 (StorageTypes.CompressionProto c : StorageTypes.CompressionProto.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageTypes.CompressionProto valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static StorageTypes.CompressionProto 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static StorageTypes.CompressionProto 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 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 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-