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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CelebrityRecognitionAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CelebrityRecognitionAnnotation build()
buildPartial()
public CelebrityRecognitionAnnotation buildPartial()
clear()
public CelebrityRecognitionAnnotation.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public CelebrityRecognitionAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CelebrityRecognitionAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CelebrityRecognitionAnnotation.Builder clone()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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;
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 |
Type |
Description |
int |
|
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;
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 |
Name |
Description |
index |
int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CelebrityRecognitionAnnotation other)
public CelebrityRecognitionAnnotation.Builder mergeFrom(CelebrityRecognitionAnnotation other)
public CelebrityRecognitionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CelebrityRecognitionAnnotation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CelebrityRecognitionAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public CelebrityRecognitionAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CelebrityRecognitionAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CelebrityRecognitionAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides