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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CelebrityTrack.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CelebrityTrack build()
buildPartial()
public CelebrityTrack buildPartial()
clear()
public CelebrityTrack.Builder clear()
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;
clearFaceTrack()
public CelebrityTrack.Builder clearFaceTrack()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
clearField(Descriptors.FieldDescriptor field)
public CelebrityTrack.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CelebrityTrack.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CelebrityTrack.Builder clone()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getFaceTrackOrBuilder()
public TrackOrBuilder getFaceTrackOrBuilder()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(CelebrityTrack other)
public CelebrityTrack.Builder mergeFrom(CelebrityTrack other)
public CelebrityTrack.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CelebrityTrack.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CelebrityTrack.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
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
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public CelebrityTrack.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CelebrityTrack.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CelebrityTrack.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides