public static final class FaceDetectionAnnotation.Builder extends GeneratedMessageV3.Builder<FaceDetectionAnnotation.Builder> implements FaceDetectionAnnotationOrBuilder
Face detection annotation.
Protobuf type google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation
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
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceDetectionAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public FaceDetectionAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceDetectionAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public FaceDetectionAnnotation.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceDetectionAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public FaceDetectionAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceDetectionAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceDetectionAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides