Package com.google.cloud.vision.v1
Enum FaceAnnotation.Landmark.Type
- java.lang.Object
-
- java.lang.Enum<FaceAnnotation.Landmark.Type>
-
- com.google.cloud.vision.v1.FaceAnnotation.Landmark.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FaceAnnotation.Landmark.Type>
- Enclosing class:
- FaceAnnotation.Landmark
public static enum FaceAnnotation.Landmark.Type extends Enum<FaceAnnotation.Landmark.Type> implements com.google.protobuf.ProtocolMessageEnum
Face landmark (feature) type. Left and right are defined from the vantage of the viewer of the image without considering mirror projections typical of photos. So, `LEFT_EYE`, typically, is the person's right eye.
Protobuf enumgoogle.cloud.vision.v1.FaceAnnotation.Landmark.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHIN_GNATHIONChin gnathion.CHIN_LEFT_GONIONChin left gonion.CHIN_RIGHT_GONIONChin right gonion.FOREHEAD_GLABELLAForehead glabella.LEFT_CHEEK_CENTERLeft cheek center.LEFT_EAR_TRAGIONLeft ear tragion.LEFT_EYELeft eye.LEFT_EYE_BOTTOM_BOUNDARYLeft eye, bottom boundary.LEFT_EYE_LEFT_CORNERLeft eye, left corner.LEFT_EYE_PUPILLeft eye pupil.LEFT_EYE_RIGHT_CORNERLeft eye, right corner.LEFT_EYE_TOP_BOUNDARYLeft eye, top boundary.LEFT_EYEBROW_UPPER_MIDPOINTLeft eyebrow, upper midpoint.LEFT_OF_LEFT_EYEBROWLeft of left eyebrow.LEFT_OF_RIGHT_EYEBROWLeft of right eyebrow.LOWER_LIPLower lip.MIDPOINT_BETWEEN_EYESMidpoint between eyes.MOUTH_CENTERMouth center.MOUTH_LEFTMouth left.MOUTH_RIGHTMouth right.NOSE_BOTTOM_CENTERNose, bottom center.NOSE_BOTTOM_LEFTNose, bottom left.NOSE_BOTTOM_RIGHTNose, bottom right.NOSE_TIPNose tip.RIGHT_CHEEK_CENTERRight cheek center.RIGHT_EAR_TRAGIONRight ear tragion.RIGHT_EYERight eye.RIGHT_EYE_BOTTOM_BOUNDARYRight eye, bottom boundary.RIGHT_EYE_LEFT_CORNERRight eye, left corner.RIGHT_EYE_PUPILRight eye pupil.RIGHT_EYE_RIGHT_CORNERRight eye, right corner.RIGHT_EYE_TOP_BOUNDARYRight eye, top boundary.RIGHT_EYEBROW_UPPER_MIDPOINTRight eyebrow, upper midpoint.RIGHT_OF_LEFT_EYEBROWRight of left eyebrow.RIGHT_OF_RIGHT_EYEBROWRight of right eyebrow.UNKNOWN_LANDMARKUnknown face landmark detected.UNRECOGNIZEDUPPER_LIPUpper lip.
-
Field Summary
Fields Modifier and Type Field Description static intCHIN_GNATHION_VALUEChin gnathion.static intCHIN_LEFT_GONION_VALUEChin left gonion.static intCHIN_RIGHT_GONION_VALUEChin right gonion.static intFOREHEAD_GLABELLA_VALUEForehead glabella.static intLEFT_CHEEK_CENTER_VALUELeft cheek center.static intLEFT_EAR_TRAGION_VALUELeft ear tragion.static intLEFT_EYE_BOTTOM_BOUNDARY_VALUELeft eye, bottom boundary.static intLEFT_EYE_LEFT_CORNER_VALUELeft eye, left corner.static intLEFT_EYE_PUPIL_VALUELeft eye pupil.static intLEFT_EYE_RIGHT_CORNER_VALUELeft eye, right corner.static intLEFT_EYE_TOP_BOUNDARY_VALUELeft eye, top boundary.static intLEFT_EYE_VALUELeft eye.static intLEFT_EYEBROW_UPPER_MIDPOINT_VALUELeft eyebrow, upper midpoint.static intLEFT_OF_LEFT_EYEBROW_VALUELeft of left eyebrow.static intLEFT_OF_RIGHT_EYEBROW_VALUELeft of right eyebrow.static intLOWER_LIP_VALUELower lip.static intMIDPOINT_BETWEEN_EYES_VALUEMidpoint between eyes.static intMOUTH_CENTER_VALUEMouth center.static intMOUTH_LEFT_VALUEMouth left.static intMOUTH_RIGHT_VALUEMouth right.static intNOSE_BOTTOM_CENTER_VALUENose, bottom center.static intNOSE_BOTTOM_LEFT_VALUENose, bottom left.static intNOSE_BOTTOM_RIGHT_VALUENose, bottom right.static intNOSE_TIP_VALUENose tip.static intRIGHT_CHEEK_CENTER_VALUERight cheek center.static intRIGHT_EAR_TRAGION_VALUERight ear tragion.static intRIGHT_EYE_BOTTOM_BOUNDARY_VALUERight eye, bottom boundary.static intRIGHT_EYE_LEFT_CORNER_VALUERight eye, left corner.static intRIGHT_EYE_PUPIL_VALUERight eye pupil.static intRIGHT_EYE_RIGHT_CORNER_VALUERight eye, right corner.static intRIGHT_EYE_TOP_BOUNDARY_VALUERight eye, top boundary.static intRIGHT_EYE_VALUERight eye.static intRIGHT_EYEBROW_UPPER_MIDPOINT_VALUERight eyebrow, upper midpoint.static intRIGHT_OF_LEFT_EYEBROW_VALUERight of left eyebrow.static intRIGHT_OF_RIGHT_EYEBROW_VALUERight of right eyebrow.static intUNKNOWN_LANDMARK_VALUEUnknown face landmark detected.static intUPPER_LIP_VALUEUpper lip.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FaceAnnotation.Landmark.TypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<FaceAnnotation.Landmark.Type>internalGetValueMap()static FaceAnnotation.Landmark.TypevalueOf(int value)Deprecated.static FaceAnnotation.Landmark.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FaceAnnotation.Landmark.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static FaceAnnotation.Landmark.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_LANDMARK
public static final FaceAnnotation.Landmark.Type UNKNOWN_LANDMARK
Unknown face landmark detected. Should not be filled.
UNKNOWN_LANDMARK = 0;
-
LEFT_EYE
public static final FaceAnnotation.Landmark.Type LEFT_EYE
Left eye.
LEFT_EYE = 1;
-
RIGHT_EYE
public static final FaceAnnotation.Landmark.Type RIGHT_EYE
Right eye.
RIGHT_EYE = 2;
-
LEFT_OF_LEFT_EYEBROW
public static final FaceAnnotation.Landmark.Type LEFT_OF_LEFT_EYEBROW
Left of left eyebrow.
LEFT_OF_LEFT_EYEBROW = 3;
-
RIGHT_OF_LEFT_EYEBROW
public static final FaceAnnotation.Landmark.Type RIGHT_OF_LEFT_EYEBROW
Right of left eyebrow.
RIGHT_OF_LEFT_EYEBROW = 4;
-
LEFT_OF_RIGHT_EYEBROW
public static final FaceAnnotation.Landmark.Type LEFT_OF_RIGHT_EYEBROW
Left of right eyebrow.
LEFT_OF_RIGHT_EYEBROW = 5;
-
RIGHT_OF_RIGHT_EYEBROW
public static final FaceAnnotation.Landmark.Type RIGHT_OF_RIGHT_EYEBROW
Right of right eyebrow.
RIGHT_OF_RIGHT_EYEBROW = 6;
-
MIDPOINT_BETWEEN_EYES
public static final FaceAnnotation.Landmark.Type MIDPOINT_BETWEEN_EYES
Midpoint between eyes.
MIDPOINT_BETWEEN_EYES = 7;
-
NOSE_TIP
public static final FaceAnnotation.Landmark.Type NOSE_TIP
Nose tip.
NOSE_TIP = 8;
-
UPPER_LIP
public static final FaceAnnotation.Landmark.Type UPPER_LIP
Upper lip.
UPPER_LIP = 9;
-
LOWER_LIP
public static final FaceAnnotation.Landmark.Type LOWER_LIP
Lower lip.
LOWER_LIP = 10;
-
MOUTH_LEFT
public static final FaceAnnotation.Landmark.Type MOUTH_LEFT
Mouth left.
MOUTH_LEFT = 11;
-
MOUTH_RIGHT
public static final FaceAnnotation.Landmark.Type MOUTH_RIGHT
Mouth right.
MOUTH_RIGHT = 12;
-
MOUTH_CENTER
public static final FaceAnnotation.Landmark.Type MOUTH_CENTER
Mouth center.
MOUTH_CENTER = 13;
-
NOSE_BOTTOM_RIGHT
public static final FaceAnnotation.Landmark.Type NOSE_BOTTOM_RIGHT
Nose, bottom right.
NOSE_BOTTOM_RIGHT = 14;
-
NOSE_BOTTOM_LEFT
public static final FaceAnnotation.Landmark.Type NOSE_BOTTOM_LEFT
Nose, bottom left.
NOSE_BOTTOM_LEFT = 15;
-
NOSE_BOTTOM_CENTER
public static final FaceAnnotation.Landmark.Type NOSE_BOTTOM_CENTER
Nose, bottom center.
NOSE_BOTTOM_CENTER = 16;
-
LEFT_EYE_TOP_BOUNDARY
public static final FaceAnnotation.Landmark.Type LEFT_EYE_TOP_BOUNDARY
Left eye, top boundary.
LEFT_EYE_TOP_BOUNDARY = 17;
-
LEFT_EYE_RIGHT_CORNER
public static final FaceAnnotation.Landmark.Type LEFT_EYE_RIGHT_CORNER
Left eye, right corner.
LEFT_EYE_RIGHT_CORNER = 18;
-
LEFT_EYE_BOTTOM_BOUNDARY
public static final FaceAnnotation.Landmark.Type LEFT_EYE_BOTTOM_BOUNDARY
Left eye, bottom boundary.
LEFT_EYE_BOTTOM_BOUNDARY = 19;
-
LEFT_EYE_LEFT_CORNER
public static final FaceAnnotation.Landmark.Type LEFT_EYE_LEFT_CORNER
Left eye, left corner.
LEFT_EYE_LEFT_CORNER = 20;
-
RIGHT_EYE_TOP_BOUNDARY
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_TOP_BOUNDARY
Right eye, top boundary.
RIGHT_EYE_TOP_BOUNDARY = 21;
-
RIGHT_EYE_RIGHT_CORNER
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_RIGHT_CORNER
Right eye, right corner.
RIGHT_EYE_RIGHT_CORNER = 22;
-
RIGHT_EYE_BOTTOM_BOUNDARY
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_BOTTOM_BOUNDARY
Right eye, bottom boundary.
RIGHT_EYE_BOTTOM_BOUNDARY = 23;
-
RIGHT_EYE_LEFT_CORNER
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_LEFT_CORNER
Right eye, left corner.
RIGHT_EYE_LEFT_CORNER = 24;
-
LEFT_EYEBROW_UPPER_MIDPOINT
public static final FaceAnnotation.Landmark.Type LEFT_EYEBROW_UPPER_MIDPOINT
Left eyebrow, upper midpoint.
LEFT_EYEBROW_UPPER_MIDPOINT = 25;
-
RIGHT_EYEBROW_UPPER_MIDPOINT
public static final FaceAnnotation.Landmark.Type RIGHT_EYEBROW_UPPER_MIDPOINT
Right eyebrow, upper midpoint.
RIGHT_EYEBROW_UPPER_MIDPOINT = 26;
-
LEFT_EAR_TRAGION
public static final FaceAnnotation.Landmark.Type LEFT_EAR_TRAGION
Left ear tragion.
LEFT_EAR_TRAGION = 27;
-
RIGHT_EAR_TRAGION
public static final FaceAnnotation.Landmark.Type RIGHT_EAR_TRAGION
Right ear tragion.
RIGHT_EAR_TRAGION = 28;
-
LEFT_EYE_PUPIL
public static final FaceAnnotation.Landmark.Type LEFT_EYE_PUPIL
Left eye pupil.
LEFT_EYE_PUPIL = 29;
-
RIGHT_EYE_PUPIL
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_PUPIL
Right eye pupil.
RIGHT_EYE_PUPIL = 30;
-
FOREHEAD_GLABELLA
public static final FaceAnnotation.Landmark.Type FOREHEAD_GLABELLA
Forehead glabella.
FOREHEAD_GLABELLA = 31;
-
CHIN_GNATHION
public static final FaceAnnotation.Landmark.Type CHIN_GNATHION
Chin gnathion.
CHIN_GNATHION = 32;
-
CHIN_LEFT_GONION
public static final FaceAnnotation.Landmark.Type CHIN_LEFT_GONION
Chin left gonion.
CHIN_LEFT_GONION = 33;
-
CHIN_RIGHT_GONION
public static final FaceAnnotation.Landmark.Type CHIN_RIGHT_GONION
Chin right gonion.
CHIN_RIGHT_GONION = 34;
-
LEFT_CHEEK_CENTER
public static final FaceAnnotation.Landmark.Type LEFT_CHEEK_CENTER
Left cheek center.
LEFT_CHEEK_CENTER = 35;
-
RIGHT_CHEEK_CENTER
public static final FaceAnnotation.Landmark.Type RIGHT_CHEEK_CENTER
Right cheek center.
RIGHT_CHEEK_CENTER = 36;
-
UNRECOGNIZED
public static final FaceAnnotation.Landmark.Type UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_LANDMARK_VALUE
public static final int UNKNOWN_LANDMARK_VALUE
Unknown face landmark detected. Should not be filled.
UNKNOWN_LANDMARK = 0;- See Also:
- Constant Field Values
-
LEFT_EYE_VALUE
public static final int LEFT_EYE_VALUE
Left eye.
LEFT_EYE = 1;- See Also:
- Constant Field Values
-
RIGHT_EYE_VALUE
public static final int RIGHT_EYE_VALUE
Right eye.
RIGHT_EYE = 2;- See Also:
- Constant Field Values
-
LEFT_OF_LEFT_EYEBROW_VALUE
public static final int LEFT_OF_LEFT_EYEBROW_VALUE
Left of left eyebrow.
LEFT_OF_LEFT_EYEBROW = 3;- See Also:
- Constant Field Values
-
RIGHT_OF_LEFT_EYEBROW_VALUE
public static final int RIGHT_OF_LEFT_EYEBROW_VALUE
Right of left eyebrow.
RIGHT_OF_LEFT_EYEBROW = 4;- See Also:
- Constant Field Values
-
LEFT_OF_RIGHT_EYEBROW_VALUE
public static final int LEFT_OF_RIGHT_EYEBROW_VALUE
Left of right eyebrow.
LEFT_OF_RIGHT_EYEBROW = 5;- See Also:
- Constant Field Values
-
RIGHT_OF_RIGHT_EYEBROW_VALUE
public static final int RIGHT_OF_RIGHT_EYEBROW_VALUE
Right of right eyebrow.
RIGHT_OF_RIGHT_EYEBROW = 6;- See Also:
- Constant Field Values
-
MIDPOINT_BETWEEN_EYES_VALUE
public static final int MIDPOINT_BETWEEN_EYES_VALUE
Midpoint between eyes.
MIDPOINT_BETWEEN_EYES = 7;- See Also:
- Constant Field Values
-
NOSE_TIP_VALUE
public static final int NOSE_TIP_VALUE
Nose tip.
NOSE_TIP = 8;- See Also:
- Constant Field Values
-
UPPER_LIP_VALUE
public static final int UPPER_LIP_VALUE
Upper lip.
UPPER_LIP = 9;- See Also:
- Constant Field Values
-
LOWER_LIP_VALUE
public static final int LOWER_LIP_VALUE
Lower lip.
LOWER_LIP = 10;- See Also:
- Constant Field Values
-
MOUTH_LEFT_VALUE
public static final int MOUTH_LEFT_VALUE
Mouth left.
MOUTH_LEFT = 11;- See Also:
- Constant Field Values
-
MOUTH_RIGHT_VALUE
public static final int MOUTH_RIGHT_VALUE
Mouth right.
MOUTH_RIGHT = 12;- See Also:
- Constant Field Values
-
MOUTH_CENTER_VALUE
public static final int MOUTH_CENTER_VALUE
Mouth center.
MOUTH_CENTER = 13;- See Also:
- Constant Field Values
-
NOSE_BOTTOM_RIGHT_VALUE
public static final int NOSE_BOTTOM_RIGHT_VALUE
Nose, bottom right.
NOSE_BOTTOM_RIGHT = 14;- See Also:
- Constant Field Values
-
NOSE_BOTTOM_LEFT_VALUE
public static final int NOSE_BOTTOM_LEFT_VALUE
Nose, bottom left.
NOSE_BOTTOM_LEFT = 15;- See Also:
- Constant Field Values
-
NOSE_BOTTOM_CENTER_VALUE
public static final int NOSE_BOTTOM_CENTER_VALUE
Nose, bottom center.
NOSE_BOTTOM_CENTER = 16;- See Also:
- Constant Field Values
-
LEFT_EYE_TOP_BOUNDARY_VALUE
public static final int LEFT_EYE_TOP_BOUNDARY_VALUE
Left eye, top boundary.
LEFT_EYE_TOP_BOUNDARY = 17;- See Also:
- Constant Field Values
-
LEFT_EYE_RIGHT_CORNER_VALUE
public static final int LEFT_EYE_RIGHT_CORNER_VALUE
Left eye, right corner.
LEFT_EYE_RIGHT_CORNER = 18;- See Also:
- Constant Field Values
-
LEFT_EYE_BOTTOM_BOUNDARY_VALUE
public static final int LEFT_EYE_BOTTOM_BOUNDARY_VALUE
Left eye, bottom boundary.
LEFT_EYE_BOTTOM_BOUNDARY = 19;- See Also:
- Constant Field Values
-
LEFT_EYE_LEFT_CORNER_VALUE
public static final int LEFT_EYE_LEFT_CORNER_VALUE
Left eye, left corner.
LEFT_EYE_LEFT_CORNER = 20;- See Also:
- Constant Field Values
-
RIGHT_EYE_TOP_BOUNDARY_VALUE
public static final int RIGHT_EYE_TOP_BOUNDARY_VALUE
Right eye, top boundary.
RIGHT_EYE_TOP_BOUNDARY = 21;- See Also:
- Constant Field Values
-
RIGHT_EYE_RIGHT_CORNER_VALUE
public static final int RIGHT_EYE_RIGHT_CORNER_VALUE
Right eye, right corner.
RIGHT_EYE_RIGHT_CORNER = 22;- See Also:
- Constant Field Values
-
RIGHT_EYE_BOTTOM_BOUNDARY_VALUE
public static final int RIGHT_EYE_BOTTOM_BOUNDARY_VALUE
Right eye, bottom boundary.
RIGHT_EYE_BOTTOM_BOUNDARY = 23;- See Also:
- Constant Field Values
-
RIGHT_EYE_LEFT_CORNER_VALUE
public static final int RIGHT_EYE_LEFT_CORNER_VALUE
Right eye, left corner.
RIGHT_EYE_LEFT_CORNER = 24;- See Also:
- Constant Field Values
-
LEFT_EYEBROW_UPPER_MIDPOINT_VALUE
public static final int LEFT_EYEBROW_UPPER_MIDPOINT_VALUE
Left eyebrow, upper midpoint.
LEFT_EYEBROW_UPPER_MIDPOINT = 25;- See Also:
- Constant Field Values
-
RIGHT_EYEBROW_UPPER_MIDPOINT_VALUE
public static final int RIGHT_EYEBROW_UPPER_MIDPOINT_VALUE
Right eyebrow, upper midpoint.
RIGHT_EYEBROW_UPPER_MIDPOINT = 26;- See Also:
- Constant Field Values
-
LEFT_EAR_TRAGION_VALUE
public static final int LEFT_EAR_TRAGION_VALUE
Left ear tragion.
LEFT_EAR_TRAGION = 27;- See Also:
- Constant Field Values
-
RIGHT_EAR_TRAGION_VALUE
public static final int RIGHT_EAR_TRAGION_VALUE
Right ear tragion.
RIGHT_EAR_TRAGION = 28;- See Also:
- Constant Field Values
-
LEFT_EYE_PUPIL_VALUE
public static final int LEFT_EYE_PUPIL_VALUE
Left eye pupil.
LEFT_EYE_PUPIL = 29;- See Also:
- Constant Field Values
-
RIGHT_EYE_PUPIL_VALUE
public static final int RIGHT_EYE_PUPIL_VALUE
Right eye pupil.
RIGHT_EYE_PUPIL = 30;- See Also:
- Constant Field Values
-
FOREHEAD_GLABELLA_VALUE
public static final int FOREHEAD_GLABELLA_VALUE
Forehead glabella.
FOREHEAD_GLABELLA = 31;- See Also:
- Constant Field Values
-
CHIN_GNATHION_VALUE
public static final int CHIN_GNATHION_VALUE
Chin gnathion.
CHIN_GNATHION = 32;- See Also:
- Constant Field Values
-
CHIN_LEFT_GONION_VALUE
public static final int CHIN_LEFT_GONION_VALUE
Chin left gonion.
CHIN_LEFT_GONION = 33;- See Also:
- Constant Field Values
-
CHIN_RIGHT_GONION_VALUE
public static final int CHIN_RIGHT_GONION_VALUE
Chin right gonion.
CHIN_RIGHT_GONION = 34;- See Also:
- Constant Field Values
-
LEFT_CHEEK_CENTER_VALUE
public static final int LEFT_CHEEK_CENTER_VALUE
Left cheek center.
LEFT_CHEEK_CENTER = 35;- See Also:
- Constant Field Values
-
RIGHT_CHEEK_CENTER_VALUE
public static final int RIGHT_CHEEK_CENTER_VALUE
Right cheek center.
RIGHT_CHEEK_CENTER = 36;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FaceAnnotation.Landmark.Type[] 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 (FaceAnnotation.Landmark.Type c : FaceAnnotation.Landmark.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FaceAnnotation.Landmark.Type valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static FaceAnnotation.Landmark.Type 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static FaceAnnotation.Landmark.Type forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FaceAnnotation.Landmark.Type> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static FaceAnnotation.Landmark.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-