Package com.google.cloud.vision.v1
Interface FaceAnnotation.LandmarkOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FaceAnnotation.Landmark
,FaceAnnotation.Landmark.Builder
- Enclosing class:
- FaceAnnotation
public static interface FaceAnnotation.LandmarkOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Position
getPosition()
Face landmark position.PositionOrBuilder
getPositionOrBuilder()
Face landmark position.FaceAnnotation.Landmark.Type
getType()
Face landmark type.int
getTypeValue()
Face landmark type.boolean
hasPosition()
Face landmark position.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
Face landmark type.
.google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;
- Returns:
- The enum numeric value on the wire for type.
-
getType
FaceAnnotation.Landmark.Type getType()
Face landmark type.
.google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;
- Returns:
- The type.
-
hasPosition
boolean hasPosition()
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
- Returns:
- Whether the position field is set.
-
getPosition
Position getPosition()
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
- Returns:
- The position.
-
getPositionOrBuilder
PositionOrBuilder getPositionOrBuilder()
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
-
-