Enum Class StorageTypes.CommitTypeProto
java.lang.Object
java.lang.Enum<StorageTypes.CommitTypeProto>
org.projectnessie.versioned.storage.common.proto.StorageTypes.CommitTypeProto
- All Implemented Interfaces:
Serializable,Comparable<StorageTypes.CommitTypeProto>,Constable,org.projectnessie.nessie.relocated.protobuf.Internal.EnumLite,org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
- Enclosing class:
- StorageTypes
public static enum StorageTypes.CommitTypeProto
extends Enum<StorageTypes.CommitTypeProto>
implements org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
Protobuf enum
nessie.storage.CommitTypeProto-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionINTERNAL = 2;NORMAL = 1;T_UNKNOWN = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intINTERNAL = 2;static final intNORMAL = 1;static final intT_UNKNOWN = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageTypes.CommitTypeProtoforNumber(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.CommitTypeProto>static StorageTypes.CommitTypeProtovalueOf(int value) Deprecated.static StorageTypes.CommitTypeProtoReturns the enum constant of this class with the specified name.static StorageTypes.CommitTypeProtovalueOf(org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static StorageTypes.CommitTypeProto[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
T_UNKNOWN
T_UNKNOWN = 0; -
NORMAL
NORMAL = 1; -
INTERNAL
INTERNAL = 2; -
UNRECOGNIZED
-
-
Field Details
-
T_UNKNOWN_VALUE
public static final int T_UNKNOWN_VALUET_UNKNOWN = 0;- See Also:
-
NORMAL_VALUE
public static final int NORMAL_VALUENORMAL = 1;- See Also:
-
INTERNAL_VALUE
public static final int INTERNAL_VALUEINTERNAL = 2;- 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.CommitTypeProto> 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.CommitTypeProto 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
-