public final class FaceDetectionAnnotation extends GeneratedMessageV3 implements FaceDetectionAnnotationOrBuilder
Face detection annotation.
Protobuf type google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
THUMBNAIL_FIELD_NUMBER
public static final int THUMBNAIL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRACKS_FIELD_NUMBER
public static final int TRACKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FaceDetectionAnnotation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FaceDetectionAnnotation.Builder newBuilder()
newBuilder(FaceDetectionAnnotation prototype)
public static FaceDetectionAnnotation.Builder newBuilder(FaceDetectionAnnotation prototype)
public static FaceDetectionAnnotation parseDelimitedFrom(InputStream input)
public static FaceDetectionAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FaceDetectionAnnotation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FaceDetectionAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FaceDetectionAnnotation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FaceDetectionAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FaceDetectionAnnotation parseFrom(CodedInputStream input)
public static FaceDetectionAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FaceDetectionAnnotation parseFrom(InputStream input)
public static FaceDetectionAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FaceDetectionAnnotation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FaceDetectionAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FaceDetectionAnnotation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public FaceDetectionAnnotation getDefaultInstanceForType()
getParserForType()
public Parser<FaceDetectionAnnotation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getThumbnail()
public ByteString getThumbnail()
The thumbnail of a person's face.
bytes thumbnail = 4;
Returns |
Type |
Description |
ByteString |
The thumbnail.
|
getTracks(int index)
public Track getTracks(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Track |
|
getTracksCount()
public int getTracksCount()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns |
Type |
Description |
int |
|
getTracksList()
public List<Track> getTracksList()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter |
Name |
Description |
index |
int
|
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> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FaceDetectionAnnotation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FaceDetectionAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public FaceDetectionAnnotation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides