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
  • Enum Constant Details

  • Field Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      UNKNOWN = 0;
      See Also:
    • SHALLOW_METADATA_VALUE

      public static final int SHALLOW_METADATA_VALUE
      SHALLOW_METADATA = 1;
      See Also:
    • SNAPSHOT_VALUE

      public static final int SNAPSHOT_VALUE
      SNAPSHOT = 2;
      See Also:
    • SCHEMA_VALUE

      public static final int SCHEMA_VALUE
      SCHEMA = 3;
      See Also:
    • PARTITION_SPEC_VALUE

      public static final int PARTITION_SPEC_VALUE
      PARTITION_SPEC = 4;
      See Also:
    • SORT_ORDER_VALUE

      public static final int SORT_ORDER_VALUE
      SORT_ORDER = 5;
      See Also:
    • VERSION_VALUE

      public static final int VERSION_VALUE
      VERSION = 6;
      See Also:
  • Method Details

    • values

      public static ObjectTypes.ContentPartType[] 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

      public static ObjectTypes.ContentPartType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface org.projectnessie.nessie.relocated.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ObjectTypes.ContentPartType valueOf(int value)
      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 name
      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 org.projectnessie.nessie.relocated.protobuf.Internal.EnumLiteMap<ObjectTypes.ContentPartType> internalGetValueMap()
    • getValueDescriptor

      public final org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface org.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 name
      NullPointerException - if the argument is null