Enum StorageTypes.ObjProto.ObjCase
- java.lang.Object
-
- java.lang.Enum<StorageTypes.ObjProto.ObjCase>
-
- org.projectnessie.versioned.storage.common.proto.StorageTypes.ObjProto.ObjCase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StorageTypes.ObjProto.ObjCase>,org.projectnessie.nessie.relocated.protobuf.Internal.EnumLite
- Enclosing class:
- StorageTypes.ObjProto
public static enum StorageTypes.ObjProto.ObjCase extends java.lang.Enum<StorageTypes.ObjProto.ObjCase> implements org.projectnessie.nessie.relocated.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMITCONTENT_VALUEINDEXINDEX_SEGMENTSOBJ_NOT_SETREFSTRING_DATATAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StorageTypes.ObjProto.ObjCaseforNumber(int value)intgetNumber()static StorageTypes.ObjProto.ObjCasevalueOf(int value)Deprecated.static StorageTypes.ObjProto.ObjCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StorageTypes.ObjProto.ObjCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMIT
public static final StorageTypes.ObjProto.ObjCase COMMIT
-
REF
public static final StorageTypes.ObjProto.ObjCase REF
-
CONTENT_VALUE
public static final StorageTypes.ObjProto.ObjCase CONTENT_VALUE
-
INDEX_SEGMENTS
public static final StorageTypes.ObjProto.ObjCase INDEX_SEGMENTS
-
INDEX
public static final StorageTypes.ObjProto.ObjCase INDEX
-
STRING_DATA
public static final StorageTypes.ObjProto.ObjCase STRING_DATA
-
TAG
public static final StorageTypes.ObjProto.ObjCase TAG
-
OBJ_NOT_SET
public static final StorageTypes.ObjProto.ObjCase OBJ_NOT_SET
-
-
Method Detail
-
values
public static StorageTypes.ObjProto.ObjCase[] 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.ObjProto.ObjCase c : StorageTypes.ObjProto.ObjCase.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.ObjProto.ObjCase 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
-
valueOf
@Deprecated public static StorageTypes.ObjProto.ObjCase 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.ObjProto.ObjCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfaceorg.projectnessie.nessie.relocated.protobuf.Internal.EnumLite
-
-