public enum VersionField extends java.lang.Enum<VersionField> implements StorageField
StorageField
Enum Constant and Description |
---|
timestamp
A field representing a timestamp in seconds.
|
timestamp_nanos
A field for storing the part of a timestamp representing the amount of nanoseconds.
|
version
Number part of the version.
|
Modifier and Type | Method and Description |
---|---|
static VersionField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VersionField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final VersionField version
public static final VersionField timestamp
Timestamp.getSeconds()
public static final VersionField timestamp_nanos
Timestamp.getNanos()
public static VersionField[] values()
for (VersionField c : VersionField.values()) System.out.println(c);
public static VersionField valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null