public static final class FaceAnnotation.Landmark extends GeneratedMessageV3 implements FaceAnnotation.LandmarkOrBuilder
A face-specific landmark (for example, a face feature).
Protobuf type google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark
Static Fields
POSITION_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FaceAnnotation.Landmark getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FaceAnnotation.Landmark.Builder newBuilder()
Returns
newBuilder(FaceAnnotation.Landmark prototype)
public static FaceAnnotation.Landmark.Builder newBuilder(FaceAnnotation.Landmark prototype)
Parameter
Returns
public static FaceAnnotation.Landmark parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FaceAnnotation.Landmark parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FaceAnnotation.Landmark parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FaceAnnotation.Landmark parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FaceAnnotation.Landmark parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FaceAnnotation.Landmark parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FaceAnnotation.Landmark parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FaceAnnotation.Landmark parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FaceAnnotation.Landmark parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FaceAnnotation.Landmark parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FaceAnnotation.Landmark parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FaceAnnotation.Landmark parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FaceAnnotation.Landmark> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public FaceAnnotation.Landmark getDefaultInstanceForType()
Returns
getParserForType()
public Parser<FaceAnnotation.Landmark> getParserForType()
Returns
Overrides
getPosition()
public Position getPosition()
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
Returns
getPositionOrBuilder()
public PositionOrBuilder getPositionOrBuilder()
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public FaceAnnotation.Landmark.Type getType()
Face landmark type.
.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.Type type = 3;
Returns
getTypeValue()
public int getTypeValue()
Face landmark type.
.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.Type type = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasPosition()
public boolean hasPosition()
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
Returns
Type | Description |
boolean | Whether the position field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FaceAnnotation.Landmark.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FaceAnnotation.Landmark.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FaceAnnotation.Landmark.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions