Enum Class ObjectTypes.ContentPartType
java.lang.Object
java.lang.Enum<ObjectTypes.ContentPartType>
org.projectnessie.server.store.proto.ObjectTypes.ContentPartType
- All Implemented Interfaces:
Serializable,Comparable<ObjectTypes.ContentPartType>,Constable,org.projectnessie.nessie.relocated.protobuf.Internal.EnumLite,org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
- Enclosing class:
- ObjectTypes
public static enum ObjectTypes.ContentPartType
extends Enum<ObjectTypes.ContentPartType>
implements org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
Protobuf enum
nessie.store.ContentPartType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPARTITION_SPEC = 4;SCHEMA = 3;SHALLOW_METADATA = 1;SNAPSHOT = 2;SORT_ORDER = 5;UNKNOWN = 0;VERSION = 6; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPARTITION_SPEC = 4;static final intSCHEMA = 3;static final intSHALLOW_METADATA = 1;static final intSNAPSHOT = 2;static final intSORT_ORDER = 5;static final intUNKNOWN = 0;static final intVERSION = 6; -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectTypes.ContentPartTypeforNumber(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<ObjectTypes.ContentPartType>static ObjectTypes.ContentPartTypevalueOf(int value) Deprecated.static ObjectTypes.ContentPartTypeReturns the enum constant of this class with the specified name.static ObjectTypes.ContentPartTypevalueOf(org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ObjectTypes.ContentPartType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
UNKNOWN = 0; -
SHALLOW_METADATA
SHALLOW_METADATA = 1; -
SNAPSHOT
SNAPSHOT = 2; -
SCHEMA
SCHEMA = 3; -
PARTITION_SPEC
PARTITION_SPEC = 4; -
SORT_ORDER
SORT_ORDER = 5; -
VERSION
VERSION = 6; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN = 0;- See Also:
-
SHALLOW_METADATA_VALUE
public static final int SHALLOW_METADATA_VALUESHALLOW_METADATA = 1;- See Also:
-
SNAPSHOT_VALUE
public static final int SNAPSHOT_VALUESNAPSHOT = 2;- See Also:
-
SCHEMA_VALUE
public static final int SCHEMA_VALUESCHEMA = 3;- See Also:
-
PARTITION_SPEC_VALUE
public static final int PARTITION_SPEC_VALUEPARTITION_SPEC = 4;- See Also:
-
SORT_ORDER_VALUE
public static final int SORT_ORDER_VALUESORT_ORDER = 5;- See Also:
-
VERSION_VALUE
public static final int VERSION_VALUEVERSION = 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<ObjectTypes.ContentPartType> 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 ObjectTypes.ContentPartType 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
-