public static final class PersonDetectionAnnotation.Builder extends GeneratedMessage.Builder<PersonDetectionAnnotation.Builder> implements PersonDetectionAnnotationOrBuilderPerson detection annotation per video.
Protobuf type google.cloud.videointelligence.v1.PersonDetectionAnnotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PersonDetectionAnnotation.BuilderImplements
PersonDetectionAnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
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.v1.Track tracks = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1.Track> |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
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 | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
Track.Builder |
| Returns | |
|---|---|
| Type | Description |
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.v1.Track tracks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Track |
| Returns | |
|---|---|
| Type | Description |
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.v1.Track tracks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Track.Builder |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
addTracksBuilder()
public Track.Builder addTracksBuilder()The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
| Returns | |
|---|---|
| Type | Description |
Track.Builder |
|
addTracksBuilder(int index)
public Track.Builder addTracksBuilder(int index)The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Track.Builder |
|
build()
public PersonDetectionAnnotation build()| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation |
|
buildPartial()
public PersonDetectionAnnotation buildPartial()| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation |
|
clear()
public PersonDetectionAnnotation.Builder clear()| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
clearTracks()
public PersonDetectionAnnotation.Builder clearTracks()The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
clearVersion()
public PersonDetectionAnnotation.Builder clearVersion()Feature version.
string version = 2;
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PersonDetectionAnnotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTracks(int index)
public Track getTracks(int index)The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.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.v1.Track tracks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Track.Builder |
|
getTracksBuilderList()
public List<Track.Builder> getTracksBuilderList()The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTracksCount()
public int getTracksCount()The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getTracksList()
public List<Track> getTracksList()The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
| Returns | |
|---|---|
| Type | Description |
List<Track> |
|
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder(int index)The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TrackOrBuilder |
|
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PersonDetectionAnnotation other)
public PersonDetectionAnnotation.Builder mergeFrom(PersonDetectionAnnotation other)| Parameter | |
|---|---|
| Name | Description |
other |
PersonDetectionAnnotation |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PersonDetectionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PersonDetectionAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
removeTracks(int index)
public PersonDetectionAnnotation.Builder removeTracks(int index)The detected tracks of a person.
repeated .google.cloud.videointelligence.v1.Track tracks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
Track |
| Returns | |
|---|---|
| Type | Description |
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.v1.Track tracks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Track.Builder |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
|
setVersion(String value)
public PersonDetectionAnnotation.Builder setVersion(String value)Feature version.
string version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public PersonDetectionAnnotation.Builder setVersionBytes(ByteString value)Feature version.
string version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
PersonDetectionAnnotation.Builder |
This builder for chaining. |