public static enum Collection.Status extends java.lang.Enum<Collection.Status>
Enum Constant and Description |
---|
AVAILABLE
The collection is available to add images.
|
FAILED
The collection training failed.
|
UNAVAILABLE
The collection is being created or trained.
|
Modifier and Type | Method and Description |
---|---|
static Collection.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Collection.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="available") public static final Collection.Status AVAILABLE
@SerializedName(value="failed") public static final Collection.Status FAILED
@SerializedName(value="unavailable") public static final Collection.Status UNAVAILABLE
public static Collection.Status[] values()
for (Collection.Status c : Collection.Status.values()) System.out.println(c);
public static Collection.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 null