Send feedback
Class FaceAnnotation.Landmark.Builder (3.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.1.0 keyboard_arrow_down
public static final class FaceAnnotation . Landmark . Builder extends GeneratedMessageV3 . Builder<FaceAnnotation . Landmark . Builder > implements FaceAnnotation . LandmarkOrBuilder
A face-specific landmark (for example, a face feature).
Protobuf type google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceAnnotation . Landmark . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public FaceAnnotation . Landmark build ()
Returns
buildPartial()
public FaceAnnotation . Landmark buildPartial ()
Returns
clear()
public FaceAnnotation . Landmark . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FaceAnnotation . Landmark . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceAnnotation . Landmark . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPosition()
public FaceAnnotation . Landmark . Builder clearPosition ()
Face landmark position.
.google.cloud.vision.v1p3beta1.Position position = 4;
Returns
clearType()
public FaceAnnotation . Landmark . Builder clearType ()
Face landmark type.
.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.Type type = 3;
Returns
clone()
public FaceAnnotation . Landmark . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public FaceAnnotation . Landmark getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getPosition()
public Position getPosition ()
Face landmark position.
.google.cloud.vision.v1p3beta1.Position position = 4;
Returns
getPositionBuilder()
public Position . Builder getPositionBuilder ()
Face landmark position.
.google.cloud.vision.v1p3beta1.Position position = 4;
Returns
getPositionOrBuilder()
public PositionOrBuilder getPositionOrBuilder ()
Face landmark position.
.google.cloud.vision.v1p3beta1.Position position = 4;
Returns
getType()
public FaceAnnotation . Landmark . Type getType ()
Face landmark type.
.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.Type type = 3;
Returns
getTypeValue()
public int getTypeValue ()
Face landmark type.
.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.Type type = 3;
Returns
Type Description int The enum numeric value on the wire for type.
hasPosition()
public boolean hasPosition ()
Face landmark position.
.google.cloud.vision.v1p3beta1.Position position = 4;
Returns
Type Description boolean Whether the position field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(FaceAnnotation.Landmark other)
public FaceAnnotation . Landmark . Builder mergeFrom ( FaceAnnotation . Landmark other )
Parameter
Returns
public FaceAnnotation . Landmark . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FaceAnnotation . Landmark . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergePosition(Position value)
public FaceAnnotation . Landmark . Builder mergePosition ( Position value )
Face landmark position.
.google.cloud.vision.v1p3beta1.Position position = 4;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceAnnotation . Landmark . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FaceAnnotation . Landmark . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setPosition(Position value)
public FaceAnnotation . Landmark . Builder setPosition ( Position value )
Face landmark position.
.google.cloud.vision.v1p3beta1.Position position = 4;
Parameter
Returns
setPosition(Position.Builder builderForValue)
public FaceAnnotation . Landmark . Builder setPosition ( Position . Builder builderForValue )
Face landmark position.
.google.cloud.vision.v1p3beta1.Position position = 4;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceAnnotation . Landmark . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setType(FaceAnnotation.Landmark.Type value)
public FaceAnnotation . Landmark . Builder setType ( FaceAnnotation . Landmark . Type value )
Face landmark type.
.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.Type type = 3;
Parameter
Returns
setTypeValue(int value)
public FaceAnnotation . Landmark . Builder setTypeValue ( int value )
Face landmark type.
.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.Type type = 3;
Parameter
Name Description value int
The enum numeric value on the wire for type to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceAnnotation . Landmark . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]