Class PersonDetectionAnnotation.Builder (2.12.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.Track>
Returns
TypeDescription
PersonDetectionAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PersonDetectionAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PersonDetectionAnnotation.Builder
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
NameDescription
valueTrack
Returns
TypeDescription
PersonDetectionAnnotation.Builder

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;

Parameter
NameDescription
builderForValueTrack.Builder
Returns
TypeDescription
PersonDetectionAnnotation.Builder

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
NameDescription
indexint
valueTrack
Returns
TypeDescription
PersonDetectionAnnotation.Builder

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;

Parameters
NameDescription
indexint
builderForValueTrack.Builder
Returns
TypeDescription
PersonDetectionAnnotation.Builder

addTracksBuilder()

public Track.Builder addTracksBuilder()

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Returns
TypeDescription
Track.Builder

addTracksBuilder(int index)

public Track.Builder addTracksBuilder(int index)

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Track.Builder

build()

public PersonDetectionAnnotation build()
Returns
TypeDescription
PersonDetectionAnnotation

buildPartial()

public PersonDetectionAnnotation buildPartial()
Returns
TypeDescription
PersonDetectionAnnotation

clear()

public PersonDetectionAnnotation.Builder clear()
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PersonDetectionAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PersonDetectionAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides

clearTracks()

public PersonDetectionAnnotation.Builder clearTracks()

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Returns
TypeDescription
PersonDetectionAnnotation.Builder

clone()

public PersonDetectionAnnotation.Builder clone()
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides

getDefaultInstanceForType()

public PersonDetectionAnnotation getDefaultInstanceForType()
Returns
TypeDescription
PersonDetectionAnnotation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTracks(int index)

public Track getTracks(int index)

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Track.Builder

getTracksBuilderList()

public List<Track.Builder> getTracksBuilderList()

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Returns
TypeDescription
List<Builder>

getTracksCount()

public int getTracksCount()

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Returns
TypeDescription
int

getTracksList()

public List<Track> getTracksList()

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Returns
TypeDescription
List<Track>

getTracksOrBuilder(int index)

public TrackOrBuilder getTracksOrBuilder(int index)

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TrackOrBuilder

getTracksOrBuilderList()

public List<? extends TrackOrBuilder> getTracksOrBuilderList()

The detected tracks of a person.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PersonDetectionAnnotation other)

public PersonDetectionAnnotation.Builder mergeFrom(PersonDetectionAnnotation other)
Parameter
NameDescription
otherPersonDetectionAnnotation
Returns
TypeDescription
PersonDetectionAnnotation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PersonDetectionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PersonDetectionAnnotation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PersonDetectionAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PersonDetectionAnnotation.Builder
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
NameDescription
indexint
Returns
TypeDescription
PersonDetectionAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PersonDetectionAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PersonDetectionAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PersonDetectionAnnotation.Builder
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
NameDescription
indexint
valueTrack
Returns
TypeDescription
PersonDetectionAnnotation.Builder

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;

Parameters
NameDescription
indexint
builderForValueTrack.Builder
Returns
TypeDescription
PersonDetectionAnnotation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final PersonDetectionAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides