Enum ObjectTypes.ContentPartType
- java.lang.Object
-
- java.lang.Enum<ObjectTypes.ContentPartType>
-
- org.projectnessie.server.store.proto.ObjectTypes.ContentPartType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ObjectTypes.ContentPartType>
- Enclosing class:
- ObjectTypes
public static enum ObjectTypes.ContentPartType extends java.lang.Enum<ObjectTypes.ContentPartType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumnessie.store.ContentPartType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PARTITION_SPECPARTITION_SPEC = 4;SCHEMASCHEMA = 3;SHALLOW_METADATASHALLOW_METADATA = 1;SNAPSHOTSNAPSHOT = 2;SORT_ORDERSORT_ORDER = 5;UNKNOWNUNKNOWN = 0;UNRECOGNIZEDVERSIONVERSION = 6;
-
Field Summary
Fields Modifier and Type Field Description static intPARTITION_SPEC_VALUEPARTITION_SPEC = 4;static intSCHEMA_VALUESCHEMA = 3;static intSHALLOW_METADATA_VALUESHALLOW_METADATA = 1;static intSNAPSHOT_VALUESNAPSHOT = 2;static intSORT_ORDER_VALUESORT_ORDER = 5;static intUNKNOWN_VALUEUNKNOWN = 0;static intVERSION_VALUEVERSION = 6;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ObjectTypes.ContentPartTypeforNumber(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<ObjectTypes.ContentPartType>internalGetValueMap()static ObjectTypes.ContentPartTypevalueOf(int value)Deprecated.static ObjectTypes.ContentPartTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ObjectTypes.ContentPartTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ObjectTypes.ContentPartType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ObjectTypes.ContentPartType UNKNOWN
UNKNOWN = 0;
-
SHALLOW_METADATA
public static final ObjectTypes.ContentPartType SHALLOW_METADATA
SHALLOW_METADATA = 1;
-
SNAPSHOT
public static final ObjectTypes.ContentPartType SNAPSHOT
SNAPSHOT = 2;
-
SCHEMA
public static final ObjectTypes.ContentPartType SCHEMA
SCHEMA = 3;
-
PARTITION_SPEC
public static final ObjectTypes.ContentPartType PARTITION_SPEC
PARTITION_SPEC = 4;
-
SORT_ORDER
public static final ObjectTypes.ContentPartType SORT_ORDER
SORT_ORDER = 5;
-
VERSION
public static final ObjectTypes.ContentPartType VERSION
VERSION = 6;
-
UNRECOGNIZED
public static final ObjectTypes.ContentPartType UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;- See Also:
- Constant Field Values
-
SHALLOW_METADATA_VALUE
public static final int SHALLOW_METADATA_VALUE
SHALLOW_METADATA = 1;- See Also:
- Constant Field Values
-
SNAPSHOT_VALUE
public static final int SNAPSHOT_VALUE
SNAPSHOT = 2;- See Also:
- Constant Field Values
-
SCHEMA_VALUE
public static final int SCHEMA_VALUE
SCHEMA = 3;- See Also:
- Constant Field Values
-
PARTITION_SPEC_VALUE
public static final int PARTITION_SPEC_VALUE
PARTITION_SPEC = 4;- See Also:
- Constant Field Values
-
SORT_ORDER_VALUE
public static final int SORT_ORDER_VALUE
SORT_ORDER = 5;- See Also:
- Constant Field Values
-
VERSION_VALUE
public static final int VERSION_VALUE
VERSION = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ObjectTypes.ContentPartType[] 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 (ObjectTypes.ContentPartType c : ObjectTypes.ContentPartType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectTypes.ContentPartType 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 interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ObjectTypes.ContentPartType 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 ObjectTypes.ContentPartType 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<ObjectTypes.ContentPartType> 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 ObjectTypes.ContentPartType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-