public static final class CelebrityRecognitionAnnotation.Builder extends GeneratedMessageV3.Builder<CelebrityRecognitionAnnotation.Builder> implements CelebrityRecognitionAnnotationOrBuilder
Celebrity recognition annotation per video.
Protobuf type google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllCelebrityTracks(Iterable<? extends CelebrityTrack> values)
public CelebrityRecognitionAnnotation.Builder addAllCelebrityTracks(Iterable<? extends CelebrityTrack> values)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack>
|
Returns
addCelebrityTracks(CelebrityTrack value)
public CelebrityRecognitionAnnotation.Builder addCelebrityTracks(CelebrityTrack value)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameter
Returns
addCelebrityTracks(CelebrityTrack.Builder builderForValue)
public CelebrityRecognitionAnnotation.Builder addCelebrityTracks(CelebrityTrack.Builder builderForValue)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameter
Returns
addCelebrityTracks(int index, CelebrityTrack value)
public CelebrityRecognitionAnnotation.Builder addCelebrityTracks(int index, CelebrityTrack value)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameters
Returns
addCelebrityTracks(int index, CelebrityTrack.Builder builderForValue)
public CelebrityRecognitionAnnotation.Builder addCelebrityTracks(int index, CelebrityTrack.Builder builderForValue)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameters
Returns
addCelebrityTracksBuilder()
public CelebrityTrack.Builder addCelebrityTracksBuilder()
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Returns
addCelebrityTracksBuilder(int index)
public CelebrityTrack.Builder addCelebrityTracksBuilder(int index)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CelebrityRecognitionAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CelebrityRecognitionAnnotation build()
Returns
buildPartial()
public CelebrityRecognitionAnnotation buildPartial()
Returns
clear()
public CelebrityRecognitionAnnotation.Builder clear()
Returns
Overrides
clearCelebrityTracks()
public CelebrityRecognitionAnnotation.Builder clearCelebrityTracks()
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public CelebrityRecognitionAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CelebrityRecognitionAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CelebrityRecognitionAnnotation.Builder clone()
Returns
Overrides
getCelebrityTracks(int index)
public CelebrityTrack getCelebrityTracks(int index)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameter
Returns
getCelebrityTracksBuilder(int index)
public CelebrityTrack.Builder getCelebrityTracksBuilder(int index)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameter
Returns
getCelebrityTracksBuilderList()
public List<CelebrityTrack.Builder> getCelebrityTracksBuilderList()
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Returns
getCelebrityTracksCount()
public int getCelebrityTracksCount()
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Returns
getCelebrityTracksList()
public List<CelebrityTrack> getCelebrityTracksList()
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Returns
getCelebrityTracksOrBuilder(int index)
public CelebrityTrackOrBuilder getCelebrityTracksOrBuilder(int index)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameter
Returns
getCelebrityTracksOrBuilderList()
public List<? extends CelebrityTrackOrBuilder> getCelebrityTracksOrBuilderList()
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> | |
getDefaultInstanceForType()
public CelebrityRecognitionAnnotation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CelebrityRecognitionAnnotation other)
public CelebrityRecognitionAnnotation.Builder mergeFrom(CelebrityRecognitionAnnotation other)
Parameter
Returns
public CelebrityRecognitionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CelebrityRecognitionAnnotation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CelebrityRecognitionAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeCelebrityTracks(int index)
public CelebrityRecognitionAnnotation.Builder removeCelebrityTracks(int index)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameter
Returns
setCelebrityTracks(int index, CelebrityTrack value)
public CelebrityRecognitionAnnotation.Builder setCelebrityTracks(int index, CelebrityTrack value)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameters
Returns
setCelebrityTracks(int index, CelebrityTrack.Builder builderForValue)
public CelebrityRecognitionAnnotation.Builder setCelebrityTracks(int index, CelebrityTrack.Builder builderForValue)
The tracks detected from the input video, including recognized celebrities
and other detected faces in the video.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CelebrityRecognitionAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CelebrityRecognitionAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CelebrityRecognitionAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides