public static final class FaceDetectionAnnotation.Builder extends GeneratedMessage.Builder<FaceDetectionAnnotation.Builder> implements FaceDetectionAnnotationOrBuilder
Face detection annotation.
Protobuf type google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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
|
addTracks(Track.Builder builderForValue)
public FaceDetectionAnnotation.Builder addTracks(Track.Builder builderForValue)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
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 |
| Name |
Description |
index |
int
|
value |
Track
|
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;
addTracksBuilder()
public Track.Builder addTracksBuilder()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
addTracksBuilder(int index)
public Track.Builder addTracksBuilder(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
| Parameter |
| Name |
Description |
index |
int
|
build()
public FaceDetectionAnnotation build()
buildPartial()
public FaceDetectionAnnotation buildPartial()
clear()
public FaceDetectionAnnotation.Builder clear()
Overrides
clearThumbnail()
public FaceDetectionAnnotation.Builder clearThumbnail()
The thumbnail of a person's face.
bytes thumbnail = 4;
clearTracks()
public FaceDetectionAnnotation.Builder clearTracks()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
getDefaultInstanceForType()
public FaceDetectionAnnotation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getThumbnail()
public ByteString getThumbnail()
The thumbnail of a person's face.
bytes thumbnail = 4;
| Returns |
| Type |
Description |
ByteString |
The thumbnail.
|
getTracks(int index)
public Track getTracks(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Track |
|
getTracksBuilder(int index)
public Track.Builder getTracksBuilder(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
| Parameter |
| Name |
Description |
index |
int
|
getTracksBuilderList()
public List<Track.Builder> getTracksBuilderList()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
getTracksCount()
public int getTracksCount()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
| Returns |
| Type |
Description |
int |
|
getTracksList()
public List<Track> getTracksList()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
| Parameter |
| Name |
Description |
index |
int
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FaceDetectionAnnotation other)
public FaceDetectionAnnotation.Builder mergeFrom(FaceDetectionAnnotation other)
public FaceDetectionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FaceDetectionAnnotation.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeTracks(int index)
public FaceDetectionAnnotation.Builder removeTracks(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
| Parameter |
| Name |
Description |
index |
int
|
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.
|
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 |
| Name |
Description |
index |
int
|
value |
Track
|
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;