Send feedback
Class PersonDetectionAnnotation.Builder (2.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.7.0 keyboard_arrow_down
public static final class PersonDetectionAnnotation . Builder extends GeneratedMessageV3 . Builder<PersonDetectionAnnotation . Builder > implements PersonDetectionAnnotationOrBuilder
Person detection annotation per video.
Protobuf type google.cloud.videointelligence.v1.PersonDetectionAnnotation
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 PersonDetectionAnnotation . Builder addAllTracks ( Iterable <? extends Track > values )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.videointelligence.v1.Track >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PersonDetectionAnnotation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
addTracks(Track value)
public PersonDetectionAnnotation . Builder addTracks ( Track value )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameter
Name Description value Track
Returns
addTracks(Track.Builder builderForValue)
public PersonDetectionAnnotation . Builder addTracks ( Track . Builder builderForValue )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameter
Returns
addTracks(int index, Track value)
public PersonDetectionAnnotation . Builder addTracks ( int index , Track value )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameters
Returns
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.v1.Track tracks = 1;
Parameters
Returns
addTracksBuilder()
public Track . Builder addTracksBuilder ()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Returns
addTracksBuilder(int index)
public Track . Builder addTracksBuilder ( int index )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameter
Returns
build()
public PersonDetectionAnnotation build ()
Returns
buildPartial()
public PersonDetectionAnnotation buildPartial ()
Returns
clear()
public PersonDetectionAnnotation . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PersonDetectionAnnotation . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PersonDetectionAnnotation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearTracks()
public PersonDetectionAnnotation . Builder clearTracks ()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Returns
clearVersion()
public PersonDetectionAnnotation . Builder clearVersion ()
Feature version.
string version = 2;
Returns
clone()
public PersonDetectionAnnotation . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public PersonDetectionAnnotation getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getTracks(int index)
public Track getTracks ( int index )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameter
Returns
getTracksBuilder(int index)
public Track . Builder getTracksBuilder ( int index )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameter
Returns
getTracksBuilderList()
public List<Track . Builder > getTracksBuilderList ()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Returns
getTracksCount()
public int getTracksCount ()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Returns
getTracksList()
public List<Track> getTracksList ()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Returns
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder ( int index )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameter
Returns
getTracksOrBuilderList()
public List <? extends TrackOrBuilder > getTracksOrBuilderList ()
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Returns
Type Description List <? extends com.google.cloud.videointelligence.v1.TrackOrBuilder >
getVersion()
public String getVersion ()
Feature version.
string version = 2;
Returns
Type Description String The version.
getVersionBytes()
public ByteString getVersionBytes ()
Feature version.
string version = 2;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(PersonDetectionAnnotation other)
public PersonDetectionAnnotation . Builder mergeFrom ( PersonDetectionAnnotation other )
Parameter
Returns
public PersonDetectionAnnotation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PersonDetectionAnnotation . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PersonDetectionAnnotation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeTracks(int index)
public PersonDetectionAnnotation . Builder removeTracks ( int index )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PersonDetectionAnnotation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PersonDetectionAnnotation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setTracks(int index, Track value)
public PersonDetectionAnnotation . Builder setTracks ( int index , Track value )
The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
Parameters
Returns
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.v1.Track tracks = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final PersonDetectionAnnotation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setVersion(String value)
public PersonDetectionAnnotation . Builder setVersion ( String value )
Feature version.
string version = 2;
Parameter
Name Description value String
The version to set.
Returns
setVersionBytes(ByteString value)
public PersonDetectionAnnotation . Builder setVersionBytes ( ByteString value )
Feature version.
string version = 2;
Parameter
Name Description value ByteString
The bytes for version to set.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]