public static final class FaceAnnotation.Landmark.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder> implements FaceAnnotation.LandmarkOrBuilder
A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.Protobuf type
google.cloud.vision.v1.FaceAnnotation.Landmark| Modifier and Type | Method and Description |
|---|---|
FaceAnnotation.Landmark.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceAnnotation.Landmark |
build() |
FaceAnnotation.Landmark |
buildPartial() |
FaceAnnotation.Landmark.Builder |
clear() |
FaceAnnotation.Landmark.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FaceAnnotation.Landmark.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FaceAnnotation.Landmark.Builder |
clearPosition()
Face landmark position.
|
FaceAnnotation.Landmark.Builder |
clearType()
Face landmark type.
|
FaceAnnotation.Landmark.Builder |
clone() |
FaceAnnotation.Landmark |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Position |
getPosition()
Face landmark position.
|
Position.Builder |
getPositionBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FaceAnnotation.Landmark.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FaceAnnotation.Landmark.Builder |
mergeFrom(FaceAnnotation.Landmark other) |
FaceAnnotation.Landmark.Builder |
mergeFrom(com.google.protobuf.Message other) |
FaceAnnotation.Landmark.Builder |
mergePosition(Position value)
Face landmark position.
|
FaceAnnotation.Landmark.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FaceAnnotation.Landmark.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceAnnotation.Landmark.Builder |
setPosition(Position.Builder builderForValue)
Face landmark position.
|
FaceAnnotation.Landmark.Builder |
setPosition(Position value)
Face landmark position.
|
FaceAnnotation.Landmark.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
FaceAnnotation.Landmark.Builder |
setType(FaceAnnotation.Landmark.Type value)
Face landmark type.
|
FaceAnnotation.Landmark.Builder |
setTypeValue(int value)
Face landmark type.
|
FaceAnnotation.Landmark.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FaceAnnotation.Landmark build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FaceAnnotation.Landmark buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FaceAnnotation.Landmark.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder mergeFrom(FaceAnnotation.Landmark other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public FaceAnnotation.Landmark.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FaceAnnotation.Landmark.Builder>java.io.IOExceptionpublic int getTypeValue()
Face landmark type.
optional .google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;getTypeValue in interface FaceAnnotation.LandmarkOrBuilderpublic FaceAnnotation.Landmark.Builder setTypeValue(int value)
Face landmark type.
optional .google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;public FaceAnnotation.Landmark.Type getType()
Face landmark type.
optional .google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;getType in interface FaceAnnotation.LandmarkOrBuilderpublic FaceAnnotation.Landmark.Builder setType(FaceAnnotation.Landmark.Type value)
Face landmark type.
optional .google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;public FaceAnnotation.Landmark.Builder clearType()
Face landmark type.
optional .google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;public boolean hasPosition()
Face landmark position.
optional .google.cloud.vision.v1.Position position = 4;hasPosition in interface FaceAnnotation.LandmarkOrBuilderpublic Position getPosition()
Face landmark position.
optional .google.cloud.vision.v1.Position position = 4;getPosition in interface FaceAnnotation.LandmarkOrBuilderpublic FaceAnnotation.Landmark.Builder setPosition(Position value)
Face landmark position.
optional .google.cloud.vision.v1.Position position = 4;public FaceAnnotation.Landmark.Builder setPosition(Position.Builder builderForValue)
Face landmark position.
optional .google.cloud.vision.v1.Position position = 4;public FaceAnnotation.Landmark.Builder mergePosition(Position value)
Face landmark position.
optional .google.cloud.vision.v1.Position position = 4;public FaceAnnotation.Landmark.Builder clearPosition()
Face landmark position.
optional .google.cloud.vision.v1.Position position = 4;public Position.Builder getPositionBuilder()
Face landmark position.
optional .google.cloud.vision.v1.Position position = 4;public PositionOrBuilder getPositionOrBuilder()
Face landmark position.
optional .google.cloud.vision.v1.Position position = 4;getPositionOrBuilder in interface FaceAnnotation.LandmarkOrBuilderpublic final FaceAnnotation.Landmark.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>public final FaceAnnotation.Landmark.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder>