public static enum RemoteDigestBlob.Status extends java.lang.Enum<RemoteDigestBlob.Status>
Enum Constant and Description |
---|
EXISTS |
FAILED |
FULL |
MISMATCH |
PARTIAL |
Modifier and Type | Method and Description |
---|---|
static RemoteDigestBlob.Status |
fromId(byte id) |
byte |
id()
The internal representation of the status.
|
static RemoteDigestBlob.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RemoteDigestBlob.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteDigestBlob.Status FULL
public static final RemoteDigestBlob.Status PARTIAL
public static final RemoteDigestBlob.Status MISMATCH
public static final RemoteDigestBlob.Status EXISTS
public static final RemoteDigestBlob.Status FAILED
public static RemoteDigestBlob.Status[] values()
for (RemoteDigestBlob.Status c : RemoteDigestBlob.Status.values()) System.out.println(c);
public static RemoteDigestBlob.Status 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 nullpublic byte id()
public static RemoteDigestBlob.Status fromId(byte id)