Send feedback
Class FaceDetectionAnnotation.Builder (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
public static final class FaceDetectionAnnotation . Builder extends GeneratedMessageV3 . Builder<FaceDetectionAnnotation . Builder > implements FaceDetectionAnnotationOrBuilder
Face detection annotation.
Protobuf type google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllTracks(Iterable<? extends Track> values)
public FaceDetectionAnnotation . Builder addAllTracks ( Iterable <? extends Track > values )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Name Description values Iterable <? extends com.google.cloud.videointelligence.v1p3beta1.Track >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceDetectionAnnotation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
addTracks(Track value)
public FaceDetectionAnnotation . Builder addTracks ( Track value )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Name Description value Track
Returns
addTracks(Track.Builder builderForValue)
public FaceDetectionAnnotation . Builder addTracks ( Track . Builder builderForValue )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
addTracks(int index, Track value)
public FaceDetectionAnnotation . Builder addTracks ( int index , Track value )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameters
Returns
addTracks(int index, Track.Builder builderForValue)
public FaceDetectionAnnotation . Builder addTracks ( int index , Track . Builder builderForValue )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameters
Returns
addTracksBuilder()
public Track . Builder addTracksBuilder ()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
addTracksBuilder(int index)
public Track . Builder addTracksBuilder ( int index )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
build()
public FaceDetectionAnnotation build ()
Returns
buildPartial()
public FaceDetectionAnnotation buildPartial ()
Returns
clear()
public FaceDetectionAnnotation . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FaceDetectionAnnotation . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceDetectionAnnotation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearThumbnail()
public FaceDetectionAnnotation . Builder clearThumbnail ()
The thumbnail of a person's face.
bytes thumbnail = 4;
Returns
clearTracks()
public FaceDetectionAnnotation . Builder clearTracks ()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
clone()
public FaceDetectionAnnotation . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public FaceDetectionAnnotation getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
getTracksBuilder(int index)
public Track . Builder getTracksBuilder ( int index )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
getTracksBuilderList()
public List<Track . Builder > getTracksBuilderList ()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
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 >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(FaceDetectionAnnotation other)
public FaceDetectionAnnotation . Builder mergeFrom ( FaceDetectionAnnotation other )
Parameter
Returns
public FaceDetectionAnnotation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FaceDetectionAnnotation . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceDetectionAnnotation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeTracks(int index)
public FaceDetectionAnnotation . Builder removeTracks ( int index )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FaceDetectionAnnotation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceDetectionAnnotation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setThumbnail(ByteString value)
public FaceDetectionAnnotation . Builder setThumbnail ( ByteString value )
The thumbnail of a person's face.
bytes thumbnail = 4;
Parameter
Name Description value ByteString
The thumbnail to set.
Returns
setTracks(int index, Track value)
public FaceDetectionAnnotation . Builder setTracks ( int index , Track value )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameters
Returns
setTracks(int index, Track.Builder builderForValue)
public FaceDetectionAnnotation . Builder setTracks ( int index , Track . Builder builderForValue )
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceDetectionAnnotation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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."],[],[]]