public static final class CelebrityTrack.Builder extends GeneratedMessageV3.Builder<CelebrityTrack.Builder> implements CelebrityTrackOrBuilder
The annotation result of a celebrity face track. RecognizedCelebrity field
could be empty if the face track does not have any matched celebrities.
Protobuf type google.cloud.videointelligence.v1p3beta1.CelebrityTrack
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllCelebrities(Iterable<? extends CelebrityTrack.RecognizedCelebrity> values)
public CelebrityTrack.Builder addAllCelebrities(Iterable<? extends CelebrityTrack.RecognizedCelebrity> values)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity>
|
Returns
addCelebrities(CelebrityTrack.RecognizedCelebrity value)
public CelebrityTrack.Builder addCelebrities(CelebrityTrack.RecognizedCelebrity value)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameter
Returns
addCelebrities(CelebrityTrack.RecognizedCelebrity.Builder builderForValue)
public CelebrityTrack.Builder addCelebrities(CelebrityTrack.RecognizedCelebrity.Builder builderForValue)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameter
Returns
addCelebrities(int index, CelebrityTrack.RecognizedCelebrity value)
public CelebrityTrack.Builder addCelebrities(int index, CelebrityTrack.RecognizedCelebrity value)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameters
Returns
addCelebrities(int index, CelebrityTrack.RecognizedCelebrity.Builder builderForValue)
public CelebrityTrack.Builder addCelebrities(int index, CelebrityTrack.RecognizedCelebrity.Builder builderForValue)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameters
Returns
addCelebritiesBuilder()
public CelebrityTrack.RecognizedCelebrity.Builder addCelebritiesBuilder()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Returns
addCelebritiesBuilder(int index)
public CelebrityTrack.RecognizedCelebrity.Builder addCelebritiesBuilder(int index)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CelebrityTrack.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CelebrityTrack build()
Returns
buildPartial()
public CelebrityTrack buildPartial()
Returns
clear()
public CelebrityTrack.Builder clear()
Returns
Overrides
clearCelebrities()
public CelebrityTrack.Builder clearCelebrities()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Returns
clearFaceTrack()
public CelebrityTrack.Builder clearFaceTrack()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public CelebrityTrack.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CelebrityTrack.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CelebrityTrack.Builder clone()
Returns
Overrides
getCelebrities(int index)
public CelebrityTrack.RecognizedCelebrity getCelebrities(int index)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameter
Returns
getCelebritiesBuilder(int index)
public CelebrityTrack.RecognizedCelebrity.Builder getCelebritiesBuilder(int index)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameter
Returns
getCelebritiesBuilderList()
public List<CelebrityTrack.RecognizedCelebrity.Builder> getCelebritiesBuilderList()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Returns
getCelebritiesCount()
public int getCelebritiesCount()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Returns
getCelebritiesList()
public List<CelebrityTrack.RecognizedCelebrity> getCelebritiesList()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Returns
getCelebritiesOrBuilder(int index)
public CelebrityTrack.RecognizedCelebrityOrBuilder getCelebritiesOrBuilder(int index)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameter
Returns
getCelebritiesOrBuilderList()
public List<? extends CelebrityTrack.RecognizedCelebrityOrBuilder> getCelebritiesOrBuilderList()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder> | |
getDefaultInstanceForType()
public CelebrityTrack getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFaceTrack()
public Track getFaceTrack()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
Returns
Type | Description |
Track | The faceTrack.
|
getFaceTrackBuilder()
public Track.Builder getFaceTrackBuilder()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
Returns
getFaceTrackOrBuilder()
public TrackOrBuilder getFaceTrackOrBuilder()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
Returns
hasFaceTrack()
public boolean hasFaceTrack()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
Returns
Type | Description |
boolean | Whether the faceTrack field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFaceTrack(Track value)
public CelebrityTrack.Builder mergeFaceTrack(Track value)
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
Parameter
Name | Description |
value | Track
|
Returns
mergeFrom(CelebrityTrack other)
public CelebrityTrack.Builder mergeFrom(CelebrityTrack other)
Parameter
Returns
public CelebrityTrack.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CelebrityTrack.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CelebrityTrack.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeCelebrities(int index)
public CelebrityTrack.Builder removeCelebrities(int index)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameter
Returns
setCelebrities(int index, CelebrityTrack.RecognizedCelebrity value)
public CelebrityTrack.Builder setCelebrities(int index, CelebrityTrack.RecognizedCelebrity value)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameters
Returns
setCelebrities(int index, CelebrityTrack.RecognizedCelebrity.Builder builderForValue)
public CelebrityTrack.Builder setCelebrities(int index, CelebrityTrack.RecognizedCelebrity.Builder builderForValue)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
Parameters
Returns
setFaceTrack(Track value)
public CelebrityTrack.Builder setFaceTrack(Track value)
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
Parameter
Name | Description |
value | Track
|
Returns
setFaceTrack(Track.Builder builderForValue)
public CelebrityTrack.Builder setFaceTrack(Track.Builder builderForValue)
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CelebrityTrack.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CelebrityTrack.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CelebrityTrack.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides