public static final class PersonDetectionAnnotation.Builder extends GeneratedMessageV3.Builder<PersonDetectionAnnotation.Builder> implements PersonDetectionAnnotationOrBuilder
Person detection annotation per video.
Protobuf type google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation
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 PersonDetectionAnnotation.Builder addAllTracks(Iterable<? extends Track> values)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1p3beta1.Track>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PersonDetectionAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addTracks(Track value)
public PersonDetectionAnnotation.Builder addTracks(Track value)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameter |
Name |
Description |
value |
Track
|
addTracks(Track.Builder builderForValue)
public PersonDetectionAnnotation.Builder addTracks(Track.Builder builderForValue)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
addTracks(int index, Track value)
public PersonDetectionAnnotation.Builder addTracks(int index, Track value)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Track
|
addTracks(int index, Track.Builder builderForValue)
public PersonDetectionAnnotation.Builder addTracks(int index, Track.Builder builderForValue)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
addTracksBuilder()
public Track.Builder addTracksBuilder()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
addTracksBuilder(int index)
public Track.Builder addTracksBuilder(int index)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public PersonDetectionAnnotation build()
buildPartial()
public PersonDetectionAnnotation buildPartial()
clear()
public PersonDetectionAnnotation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PersonDetectionAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PersonDetectionAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTracks()
public PersonDetectionAnnotation.Builder clearTracks()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
clone()
public PersonDetectionAnnotation.Builder clone()
Overrides
getDefaultInstanceForType()
public PersonDetectionAnnotation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTracks(int index)
public Track getTracks(int index)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Track |
|
getTracksBuilder(int index)
public Track.Builder getTracksBuilder(int index)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameter |
Name |
Description |
index |
int
|
getTracksBuilderList()
public List<Track.Builder> getTracksBuilderList()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
getTracksCount()
public int getTracksCount()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Returns |
Type |
Description |
int |
|
getTracksList()
public List<Track> getTracksList()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder(int index)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameter |
Name |
Description |
index |
int
|
getTracksOrBuilderList()
public List<? extends TrackOrBuilder> getTracksOrBuilderList()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PersonDetectionAnnotation other)
public PersonDetectionAnnotation.Builder mergeFrom(PersonDetectionAnnotation other)
public PersonDetectionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PersonDetectionAnnotation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PersonDetectionAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeTracks(int index)
public PersonDetectionAnnotation.Builder removeTracks(int index)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public PersonDetectionAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PersonDetectionAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTracks(int index, Track value)
public PersonDetectionAnnotation.Builder setTracks(int index, Track value)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Track
|
setTracks(int index, Track.Builder builderForValue)
public PersonDetectionAnnotation.Builder setTracks(int index, Track.Builder builderForValue)
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final PersonDetectionAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides