Send feedback
Class FaceDetectionAnnotation (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
public final class FaceDetectionAnnotation extends GeneratedMessageV3 implements FaceDetectionAnnotationOrBuilder
Face detection annotation.
Protobuf type google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation
Static Fields
THUMBNAIL_FIELD_NUMBER
public static final int THUMBNAIL_FIELD_NUMBER
Field Value
TRACKS_FIELD_NUMBER
public static final int TRACKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FaceDetectionAnnotation getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static FaceDetectionAnnotation . Builder newBuilder ()
Returns
newBuilder(FaceDetectionAnnotation prototype)
public static FaceDetectionAnnotation . Builder newBuilder ( FaceDetectionAnnotation prototype )
Parameter
Returns
public static FaceDetectionAnnotation parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static FaceDetectionAnnotation parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FaceDetectionAnnotation parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FaceDetectionAnnotation parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FaceDetectionAnnotation parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FaceDetectionAnnotation parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static FaceDetectionAnnotation parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static FaceDetectionAnnotation parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static FaceDetectionAnnotation parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static FaceDetectionAnnotation parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FaceDetectionAnnotation parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FaceDetectionAnnotation parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<FaceDetectionAnnotation> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public FaceDetectionAnnotation getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<FaceDetectionAnnotation> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getThumbnail()
public ByteString getThumbnail ()
The thumbnail of a person's face.
bytes thumbnail = 4;
Returns
getTracks(int index)
public Track getTracks ( int index )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
getTracksCount()
public int getTracksCount ()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
getTracksList()
public List<Track> getTracksList ()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder ( int index )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
getTracksOrBuilderList()
public List <? extends TrackOrBuilder > getTracksOrBuilderList ()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
Type Description List <? extends com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder >
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public FaceDetectionAnnotation . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FaceDetectionAnnotation . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public FaceDetectionAnnotation . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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."],[],[]]