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.v1p2beta1.FaceAnnotation.Landmark
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceAnnotation.Landmark.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FaceAnnotation.Landmark build()
buildPartial()
public FaceAnnotation.Landmark buildPartial()
clear()
public FaceAnnotation.Landmark.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FaceAnnotation.Landmark.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceAnnotation.Landmark.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPosition()
public FaceAnnotation.Landmark.Builder clearPosition()
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
clearType()
public FaceAnnotation.Landmark.Builder clearType()
Face landmark type.
.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.Type type = 3;
clone()
public FaceAnnotation.Landmark.Builder clone()
Overrides
getDefaultInstanceForType()
public FaceAnnotation.Landmark getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPosition()
public Position getPosition()
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
Returns |
Type |
Description |
Position |
The position.
|
getPositionBuilder()
public Position.Builder getPositionBuilder()
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
getPositionOrBuilder()
public PositionOrBuilder getPositionOrBuilder()
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
getType()
public FaceAnnotation.Landmark.Type getType()
Face landmark type.
.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.Type type = 3;
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.
|
hasPosition()
public boolean hasPosition()
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
Returns |
Type |
Description |
boolean |
Whether the position field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FaceAnnotation.Landmark other)
public FaceAnnotation.Landmark.Builder mergeFrom(FaceAnnotation.Landmark other)
public FaceAnnotation.Landmark.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FaceAnnotation.Landmark.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePosition(Position value)
public FaceAnnotation.Landmark.Builder mergePosition(Position value)
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
Parameter |
Name |
Description |
value |
Position
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceAnnotation.Landmark.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FaceAnnotation.Landmark.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPosition(Position value)
public FaceAnnotation.Landmark.Builder setPosition(Position value)
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
Parameter |
Name |
Description |
value |
Position
|
setPosition(Position.Builder builderForValue)
public FaceAnnotation.Landmark.Builder setPosition(Position.Builder builderForValue)
Face landmark position.
.google.cloud.vision.v1p2beta1.Position position = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceAnnotation.Landmark.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setType(FaceAnnotation.Landmark.Type value)
public FaceAnnotation.Landmark.Builder setType(FaceAnnotation.Landmark.Type value)
Face landmark type.
.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.Type type = 3;
setTypeValue(int value)
public FaceAnnotation.Landmark.Builder setTypeValue(int value)
Face landmark type.
.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.Type type = 3;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceAnnotation.Landmark.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides