public static enum FaceImageInfo.HairColor extends Enum<FaceImageInfo.HairColor>
Enum Constant and Description |
---|
BALD |
BLACK |
BLONDE |
BLUE |
BROWN |
GRAY |
GREEN |
RED |
UNKNOWN |
UNSPECIFIED |
WHITE |
Modifier and Type | Method and Description |
---|---|
static FaceImageInfo.HairColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FaceImageInfo.HairColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaceImageInfo.HairColor UNSPECIFIED
public static final FaceImageInfo.HairColor BALD
public static final FaceImageInfo.HairColor BLACK
public static final FaceImageInfo.HairColor BLONDE
public static final FaceImageInfo.HairColor BROWN
public static final FaceImageInfo.HairColor GRAY
public static final FaceImageInfo.HairColor WHITE
public static final FaceImageInfo.HairColor RED
public static final FaceImageInfo.HairColor GREEN
public static final FaceImageInfo.HairColor BLUE
public static final FaceImageInfo.HairColor UNKNOWN
public static FaceImageInfo.HairColor[] values()
for (FaceImageInfo.HairColor c : FaceImageInfo.HairColor.values()) System.out.println(c);
public static FaceImageInfo.HairColor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.