Class PersonDetectionAnnotation (2.2.0)

public final class PersonDetectionAnnotation extends GeneratedMessageV3 implements PersonDetectionAnnotationOrBuilder

Person detection annotation per video.

Protobuf type google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation

Static Fields

TRACKS_FIELD_NUMBER

public static final int TRACKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PersonDetectionAnnotation getDefaultInstance()
Returns
TypeDescription
PersonDetectionAnnotation

getDescriptor()

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

newBuilder()

public static PersonDetectionAnnotation.Builder newBuilder()
Returns
TypeDescription
PersonDetectionAnnotation.Builder

newBuilder(PersonDetectionAnnotation prototype)

public static PersonDetectionAnnotation.Builder newBuilder(PersonDetectionAnnotation prototype)
Parameter
NameDescription
prototypePersonDetectionAnnotation
Returns
TypeDescription
PersonDetectionAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static PersonDetectionAnnotation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonDetectionAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PersonDetectionAnnotation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PersonDetectionAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PersonDetectionAnnotation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PersonDetectionAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PersonDetectionAnnotation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonDetectionAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PersonDetectionAnnotation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonDetectionAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PersonDetectionAnnotation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PersonDetectionAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonDetectionAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PersonDetectionAnnotation> parser()
Returns
TypeDescription
Parser<PersonDetectionAnnotation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PersonDetectionAnnotation getDefaultInstanceForType()
Returns
TypeDescription
PersonDetectionAnnotation

getParserForType()

public Parser<PersonDetectionAnnotation> getParserForType()
Returns
TypeDescription
Parser<PersonDetectionAnnotation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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

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>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PersonDetectionAnnotation.Builder newBuilderForType()
Returns
TypeDescription
PersonDetectionAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PersonDetectionAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PersonDetectionAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PersonDetectionAnnotation.Builder toBuilder()
Returns
TypeDescription
PersonDetectionAnnotation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException