Enum StorageTypes.CommitTypeProto
- java.lang.Object
-
- java.lang.Enum<StorageTypes.CommitTypeProto>
-
- org.projectnessie.versioned.storage.common.proto.StorageTypes.CommitTypeProto
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StorageTypes.CommitTypeProto>,org.projectnessie.nessie.relocated.protobuf.Internal.EnumLite,org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
- Enclosing class:
- StorageTypes
public static enum StorageTypes.CommitTypeProto extends java.lang.Enum<StorageTypes.CommitTypeProto> implements org.projectnessie.nessie.relocated.protobuf.ProtocolMessageEnum
Protobuf enumnessie.storage.CommitTypeProto
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNALINTERNAL = 2;NORMALNORMAL = 1;T_UNKNOWNT_UNKNOWN = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intINTERNAL_VALUEINTERNAL = 2;static intNORMAL_VALUENORMAL = 1;static intT_UNKNOWN_VALUET_UNKNOWN = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StorageTypes.CommitTypeProtoforNumber(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.CommitTypeProto>internalGetValueMap()static StorageTypes.CommitTypeProtovalueOf(int value)Deprecated.static StorageTypes.CommitTypeProtovalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StorageTypes.CommitTypeProtovalueOf(org.projectnessie.nessie.relocated.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static StorageTypes.CommitTypeProto[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
T_UNKNOWN
public static final StorageTypes.CommitTypeProto T_UNKNOWN
T_UNKNOWN = 0;
-
NORMAL
public static final StorageTypes.CommitTypeProto NORMAL
NORMAL = 1;
-
INTERNAL
public static final StorageTypes.CommitTypeProto INTERNAL
INTERNAL = 2;
-
UNRECOGNIZED
public static final StorageTypes.CommitTypeProto UNRECOGNIZED
-
-
Field Detail
-
T_UNKNOWN_VALUE
public static final int T_UNKNOWN_VALUE
T_UNKNOWN = 0;- See Also:
- Constant Field Values
-
NORMAL_VALUE
public static final int NORMAL_VALUE
NORMAL = 1;- See Also:
- Constant Field Values
-
INTERNAL_VALUE
public static final int INTERNAL_VALUE
INTERNAL = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static StorageTypes.CommitTypeProto[] 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.CommitTypeProto c : StorageTypes.CommitTypeProto.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.CommitTypeProto 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.CommitTypeProto 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.CommitTypeProto 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.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 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
-
-