Class FaceAnnotation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vision.v1p3beta1.FaceAnnotation
-
- All Implemented Interfaces:
FaceAnnotationOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class FaceAnnotation extends com.google.protobuf.GeneratedMessageV3 implements FaceAnnotationOrBuilder
A face annotation object contains the results of face detection.
Protobuf typegoogle.cloud.vision.v1p3beta1.FaceAnnotation
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FaceAnnotation.Builder
A face annotation object contains the results of face detection.static class
FaceAnnotation.Landmark
A face-specific landmark (for example, a face feature).static interface
FaceAnnotation.LandmarkOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANGER_LIKELIHOOD_FIELD_NUMBER
static int
BLURRED_LIKELIHOOD_FIELD_NUMBER
static int
BOUNDING_POLY_FIELD_NUMBER
static int
DETECTION_CONFIDENCE_FIELD_NUMBER
static int
FD_BOUNDING_POLY_FIELD_NUMBER
static int
HEADWEAR_LIKELIHOOD_FIELD_NUMBER
static int
JOY_LIKELIHOOD_FIELD_NUMBER
static int
LANDMARKING_CONFIDENCE_FIELD_NUMBER
static int
LANDMARKS_FIELD_NUMBER
static int
PAN_ANGLE_FIELD_NUMBER
static int
ROLL_ANGLE_FIELD_NUMBER
static int
SORROW_LIKELIHOOD_FIELD_NUMBER
static int
SURPRISE_LIKELIHOOD_FIELD_NUMBER
static int
TILT_ANGLE_FIELD_NUMBER
static int
UNDER_EXPOSED_LIKELIHOOD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Likelihood
getAngerLikelihood()
Anger likelihood.int
getAngerLikelihoodValue()
Anger likelihood.Likelihood
getBlurredLikelihood()
Blurred likelihood.int
getBlurredLikelihoodValue()
Blurred likelihood.BoundingPoly
getBoundingPoly()
The bounding polygon around the face.BoundingPolyOrBuilder
getBoundingPolyOrBuilder()
The bounding polygon around the face.static FaceAnnotation
getDefaultInstance()
FaceAnnotation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
float
getDetectionConfidence()
Detection confidence.BoundingPoly
getFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face.BoundingPolyOrBuilder
getFdBoundingPolyOrBuilder()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face.Likelihood
getHeadwearLikelihood()
Headwear likelihood.int
getHeadwearLikelihoodValue()
Headwear likelihood.Likelihood
getJoyLikelihood()
Joy likelihood.int
getJoyLikelihoodValue()
Joy likelihood.float
getLandmarkingConfidence()
Face landmarking confidence.FaceAnnotation.Landmark
getLandmarks(int index)
Detected face landmarks.int
getLandmarksCount()
Detected face landmarks.List<FaceAnnotation.Landmark>
getLandmarksList()
Detected face landmarks.FaceAnnotation.LandmarkOrBuilder
getLandmarksOrBuilder(int index)
Detected face landmarks.List<? extends FaceAnnotation.LandmarkOrBuilder>
getLandmarksOrBuilderList()
Detected face landmarks.float
getPanAngle()
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image.com.google.protobuf.Parser<FaceAnnotation>
getParserForType()
float
getRollAngle()
Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face.int
getSerializedSize()
Likelihood
getSorrowLikelihood()
Sorrow likelihood.int
getSorrowLikelihoodValue()
Sorrow likelihood.Likelihood
getSurpriseLikelihood()
Surprise likelihood.int
getSurpriseLikelihoodValue()
Surprise likelihood.float
getTiltAngle()
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane.Likelihood
getUnderExposedLikelihood()
Under-exposed likelihood.int
getUnderExposedLikelihoodValue()
Under-exposed likelihood.boolean
hasBoundingPoly()
The bounding polygon around the face.boolean
hasFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static FaceAnnotation.Builder
newBuilder()
static FaceAnnotation.Builder
newBuilder(FaceAnnotation prototype)
FaceAnnotation.Builder
newBuilderForType()
protected FaceAnnotation.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static FaceAnnotation
parseDelimitedFrom(InputStream input)
static FaceAnnotation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FaceAnnotation
parseFrom(byte[] data)
static FaceAnnotation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FaceAnnotation
parseFrom(com.google.protobuf.ByteString data)
static FaceAnnotation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FaceAnnotation
parseFrom(com.google.protobuf.CodedInputStream input)
static FaceAnnotation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FaceAnnotation
parseFrom(InputStream input)
static FaceAnnotation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FaceAnnotation
parseFrom(ByteBuffer data)
static FaceAnnotation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<FaceAnnotation>
parser()
FaceAnnotation.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BOUNDING_POLY_FIELD_NUMBER
public static final int BOUNDING_POLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FD_BOUNDING_POLY_FIELD_NUMBER
public static final int FD_BOUNDING_POLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANDMARKS_FIELD_NUMBER
public static final int LANDMARKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLL_ANGLE_FIELD_NUMBER
public static final int ROLL_ANGLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAN_ANGLE_FIELD_NUMBER
public static final int PAN_ANGLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TILT_ANGLE_FIELD_NUMBER
public static final int TILT_ANGLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DETECTION_CONFIDENCE_FIELD_NUMBER
public static final int DETECTION_CONFIDENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANDMARKING_CONFIDENCE_FIELD_NUMBER
public static final int LANDMARKING_CONFIDENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOY_LIKELIHOOD_FIELD_NUMBER
public static final int JOY_LIKELIHOOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SORROW_LIKELIHOOD_FIELD_NUMBER
public static final int SORROW_LIKELIHOOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANGER_LIKELIHOOD_FIELD_NUMBER
public static final int ANGER_LIKELIHOOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SURPRISE_LIKELIHOOD_FIELD_NUMBER
public static final int SURPRISE_LIKELIHOOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNDER_EXPOSED_LIKELIHOOD_FIELD_NUMBER
public static final int UNDER_EXPOSED_LIKELIHOOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BLURRED_LIKELIHOOD_FIELD_NUMBER
public static final int BLURRED_LIKELIHOOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADWEAR_LIKELIHOOD_FIELD_NUMBER
public static final int HEADWEAR_LIKELIHOOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasBoundingPoly
public boolean hasBoundingPoly()
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
- Specified by:
hasBoundingPoly
in interfaceFaceAnnotationOrBuilder
- Returns:
- Whether the boundingPoly field is set.
-
getBoundingPoly
public BoundingPoly getBoundingPoly()
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
- Specified by:
getBoundingPoly
in interfaceFaceAnnotationOrBuilder
- Returns:
- The boundingPoly.
-
getBoundingPolyOrBuilder
public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale, as returned in `ImageParams`. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 1;
- Specified by:
getBoundingPolyOrBuilder
in interfaceFaceAnnotationOrBuilder
-
hasFdBoundingPoly
public boolean hasFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p3beta1.BoundingPoly fd_bounding_poly = 2;
- Specified by:
hasFdBoundingPoly
in interfaceFaceAnnotationOrBuilder
- Returns:
- Whether the fdBoundingPoly field is set.
-
getFdBoundingPoly
public BoundingPoly getFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p3beta1.BoundingPoly fd_bounding_poly = 2;
- Specified by:
getFdBoundingPoly
in interfaceFaceAnnotationOrBuilder
- Returns:
- The fdBoundingPoly.
-
getFdBoundingPolyOrBuilder
public BoundingPolyOrBuilder getFdBoundingPolyOrBuilder()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the "amount of skin" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p3beta1.BoundingPoly fd_bounding_poly = 2;
- Specified by:
getFdBoundingPolyOrBuilder
in interfaceFaceAnnotationOrBuilder
-
getLandmarksList
public List<FaceAnnotation.Landmark> getLandmarksList()
Detected face landmarks.
repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;
- Specified by:
getLandmarksList
in interfaceFaceAnnotationOrBuilder
-
getLandmarksOrBuilderList
public List<? extends FaceAnnotation.LandmarkOrBuilder> getLandmarksOrBuilderList()
Detected face landmarks.
repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;
- Specified by:
getLandmarksOrBuilderList
in interfaceFaceAnnotationOrBuilder
-
getLandmarksCount
public int getLandmarksCount()
Detected face landmarks.
repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;
- Specified by:
getLandmarksCount
in interfaceFaceAnnotationOrBuilder
-
getLandmarks
public FaceAnnotation.Landmark getLandmarks(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;
- Specified by:
getLandmarks
in interfaceFaceAnnotationOrBuilder
-
getLandmarksOrBuilder
public FaceAnnotation.LandmarkOrBuilder getLandmarksOrBuilder(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark landmarks = 3;
- Specified by:
getLandmarksOrBuilder
in interfaceFaceAnnotationOrBuilder
-
getRollAngle
public float getRollAngle()
Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].
float roll_angle = 4;
- Specified by:
getRollAngle
in interfaceFaceAnnotationOrBuilder
- Returns:
- The rollAngle.
-
getPanAngle
public float getPanAngle()
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].
float pan_angle = 5;
- Specified by:
getPanAngle
in interfaceFaceAnnotationOrBuilder
- Returns:
- The panAngle.
-
getTiltAngle
public float getTiltAngle()
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].
float tilt_angle = 6;
- Specified by:
getTiltAngle
in interfaceFaceAnnotationOrBuilder
- Returns:
- The tiltAngle.
-
getDetectionConfidence
public float getDetectionConfidence()
Detection confidence. Range [0, 1].
float detection_confidence = 7;
- Specified by:
getDetectionConfidence
in interfaceFaceAnnotationOrBuilder
- Returns:
- The detectionConfidence.
-
getLandmarkingConfidence
public float getLandmarkingConfidence()
Face landmarking confidence. Range [0, 1].
float landmarking_confidence = 8;
- Specified by:
getLandmarkingConfidence
in interfaceFaceAnnotationOrBuilder
- Returns:
- The landmarkingConfidence.
-
getJoyLikelihoodValue
public int getJoyLikelihoodValue()
Joy likelihood.
.google.cloud.vision.v1p3beta1.Likelihood joy_likelihood = 9;
- Specified by:
getJoyLikelihoodValue
in interfaceFaceAnnotationOrBuilder
- Returns:
- The enum numeric value on the wire for joyLikelihood.
-
getJoyLikelihood
public Likelihood getJoyLikelihood()
Joy likelihood.
.google.cloud.vision.v1p3beta1.Likelihood joy_likelihood = 9;
- Specified by:
getJoyLikelihood
in interfaceFaceAnnotationOrBuilder
- Returns:
- The joyLikelihood.
-
getSorrowLikelihoodValue
public int getSorrowLikelihoodValue()
Sorrow likelihood.
.google.cloud.vision.v1p3beta1.Likelihood sorrow_likelihood = 10;
- Specified by:
getSorrowLikelihoodValue
in interfaceFaceAnnotationOrBuilder
- Returns:
- The enum numeric value on the wire for sorrowLikelihood.
-
getSorrowLikelihood
public Likelihood getSorrowLikelihood()
Sorrow likelihood.
.google.cloud.vision.v1p3beta1.Likelihood sorrow_likelihood = 10;
- Specified by:
getSorrowLikelihood
in interfaceFaceAnnotationOrBuilder
- Returns:
- The sorrowLikelihood.
-
getAngerLikelihoodValue
public int getAngerLikelihoodValue()
Anger likelihood.
.google.cloud.vision.v1p3beta1.Likelihood anger_likelihood = 11;
- Specified by:
getAngerLikelihoodValue
in interfaceFaceAnnotationOrBuilder
- Returns:
- The enum numeric value on the wire for angerLikelihood.
-
getAngerLikelihood
public Likelihood getAngerLikelihood()
Anger likelihood.
.google.cloud.vision.v1p3beta1.Likelihood anger_likelihood = 11;
- Specified by:
getAngerLikelihood
in interfaceFaceAnnotationOrBuilder
- Returns:
- The angerLikelihood.
-
getSurpriseLikelihoodValue
public int getSurpriseLikelihoodValue()
Surprise likelihood.
.google.cloud.vision.v1p3beta1.Likelihood surprise_likelihood = 12;
- Specified by:
getSurpriseLikelihoodValue
in interfaceFaceAnnotationOrBuilder
- Returns:
- The enum numeric value on the wire for surpriseLikelihood.
-
getSurpriseLikelihood
public Likelihood getSurpriseLikelihood()
Surprise likelihood.
.google.cloud.vision.v1p3beta1.Likelihood surprise_likelihood = 12;
- Specified by:
getSurpriseLikelihood
in interfaceFaceAnnotationOrBuilder
- Returns:
- The surpriseLikelihood.
-
getUnderExposedLikelihoodValue
public int getUnderExposedLikelihoodValue()
Under-exposed likelihood.
.google.cloud.vision.v1p3beta1.Likelihood under_exposed_likelihood = 13;
- Specified by:
getUnderExposedLikelihoodValue
in interfaceFaceAnnotationOrBuilder
- Returns:
- The enum numeric value on the wire for underExposedLikelihood.
-
getUnderExposedLikelihood
public Likelihood getUnderExposedLikelihood()
Under-exposed likelihood.
.google.cloud.vision.v1p3beta1.Likelihood under_exposed_likelihood = 13;
- Specified by:
getUnderExposedLikelihood
in interfaceFaceAnnotationOrBuilder
- Returns:
- The underExposedLikelihood.
-
getBlurredLikelihoodValue
public int getBlurredLikelihoodValue()
Blurred likelihood.
.google.cloud.vision.v1p3beta1.Likelihood blurred_likelihood = 14;
- Specified by:
getBlurredLikelihoodValue
in interfaceFaceAnnotationOrBuilder
- Returns:
- The enum numeric value on the wire for blurredLikelihood.
-
getBlurredLikelihood
public Likelihood getBlurredLikelihood()
Blurred likelihood.
.google.cloud.vision.v1p3beta1.Likelihood blurred_likelihood = 14;
- Specified by:
getBlurredLikelihood
in interfaceFaceAnnotationOrBuilder
- Returns:
- The blurredLikelihood.
-
getHeadwearLikelihoodValue
public int getHeadwearLikelihoodValue()
Headwear likelihood.
.google.cloud.vision.v1p3beta1.Likelihood headwear_likelihood = 15;
- Specified by:
getHeadwearLikelihoodValue
in interfaceFaceAnnotationOrBuilder
- Returns:
- The enum numeric value on the wire for headwearLikelihood.
-
getHeadwearLikelihood
public Likelihood getHeadwearLikelihood()
Headwear likelihood.
.google.cloud.vision.v1p3beta1.Likelihood headwear_likelihood = 15;
- Specified by:
getHeadwearLikelihood
in interfaceFaceAnnotationOrBuilder
- Returns:
- The headwearLikelihood.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FaceAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FaceAnnotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FaceAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FaceAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FaceAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FaceAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FaceAnnotation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FaceAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FaceAnnotation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FaceAnnotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static FaceAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FaceAnnotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public FaceAnnotation.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FaceAnnotation.Builder newBuilder()
-
newBuilder
public static FaceAnnotation.Builder newBuilder(FaceAnnotation prototype)
-
toBuilder
public FaceAnnotation.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FaceAnnotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static FaceAnnotation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FaceAnnotation> parser()
-
getParserForType
public com.google.protobuf.Parser<FaceAnnotation> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FaceAnnotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-