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.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()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceDetectionAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
|
Returns
addTracks(Track.Builder builderForValue)
public FaceDetectionAnnotation.Builder addTracks(Track.Builder builderForValue)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
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
Returns
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;
Parameters
Returns
addTracksBuilder()
public Track.Builder addTracksBuilder()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
addTracksBuilder(int index)
public Track.Builder addTracksBuilder(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
build()
public FaceDetectionAnnotation build()
Returns
buildPartial()
public FaceDetectionAnnotation buildPartial()
Returns
clear()
public FaceDetectionAnnotation.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FaceDetectionAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceDetectionAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearThumbnail()
public FaceDetectionAnnotation.Builder clearThumbnail()
The thumbnail of a person's face.
bytes thumbnail = 4;
Returns
clearTracks()
public FaceDetectionAnnotation.Builder clearTracks()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
clone()
public FaceDetectionAnnotation.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public FaceDetectionAnnotation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getThumbnail()
public ByteString getThumbnail()
The thumbnail of a person's face.
bytes thumbnail = 4;
Returns
getTracks(int index)
public Track getTracks(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
getTracksBuilder(int index)
public Track.Builder getTracksBuilder(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
getTracksBuilderList()
public List<Track.Builder> getTracksBuilderList()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
getTracksCount()
public int getTracksCount()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
getTracksList()
public List<Track> getTracksList()
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Returns
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(FaceDetectionAnnotation other)
public FaceDetectionAnnotation.Builder mergeFrom(FaceDetectionAnnotation other)
Parameter
Returns
public FaceDetectionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FaceDetectionAnnotation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceDetectionAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTracks(int index)
public FaceDetectionAnnotation.Builder removeTracks(int index)
The face tracks with attributes.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FaceDetectionAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceDetectionAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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
Returns
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceDetectionAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides