public final class FaceDetectionAnnotation extends GeneratedMessageV3 implements FaceDetectionAnnotationOrBuilder
Face detection annotation.
Protobuf type google.cloud.videointelligence.v1.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
VERSION_FIELD_NUMBER
public static final int VERSION_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.v1.Track tracks = 3;
Parameter
Returns
getTracksCount()
public int getTracksCount()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;
Returns
getTracksList()
public List<Track> getTracksList()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;
Returns
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;
Parameter
Returns
getTracksOrBuilderList()
public List<? extends TrackOrBuilder> getTracksOrBuilderList()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1.Track tracks = 3;
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.TrackOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVersion()
public String getVersion()
Feature version.
string version = 5;
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Feature version.
string version = 5;
Returns
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