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
Modifier and TypeMethodDescriptionFace landmark position.Face landmark position.getType()Face landmark type.intFace landmark type.booleanFace landmark position.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-