Class CelebrityRecognitionAnnotation (2.45.0)

public final class CelebrityRecognitionAnnotation extends GeneratedMessageV3 implements CelebrityRecognitionAnnotationOrBuilder

Celebrity recognition annotation per video.

Protobuf type google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CelebrityRecognitionAnnotation

Static Fields

CELEBRITY_TRACKS_FIELD_NUMBER

public static final int CELEBRITY_TRACKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CelebrityRecognitionAnnotation getDefaultInstance()
Returns
Type Description
CelebrityRecognitionAnnotation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CelebrityRecognitionAnnotation.Builder newBuilder()
Returns
Type Description
CelebrityRecognitionAnnotation.Builder

newBuilder(CelebrityRecognitionAnnotation prototype)

public static CelebrityRecognitionAnnotation.Builder newBuilder(CelebrityRecognitionAnnotation prototype)
Parameter
Name Description
prototype CelebrityRecognitionAnnotation
Returns
Type Description
CelebrityRecognitionAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static CelebrityRecognitionAnnotation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CelebrityRecognitionAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CelebrityRecognitionAnnotation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CelebrityRecognitionAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CelebrityRecognitionAnnotation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CelebrityRecognitionAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CelebrityRecognitionAnnotation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CelebrityRecognitionAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CelebrityRecognitionAnnotation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CelebrityRecognitionAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CelebrityRecognitionAnnotation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CelebrityRecognitionAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CelebrityRecognitionAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CelebrityRecognitionAnnotation> parser()
Returns
Type Description
Parser<CelebrityRecognitionAnnotation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCelebrityTracks(int index)

public CelebrityTrack getCelebrityTracks(int index)

The tracks detected from the input video, including recognized celebrities and other detected faces in the video.

repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;

Parameter
Name Description
index int
Returns
Type Description
CelebrityTrack

getCelebrityTracksCount()

public int getCelebrityTracksCount()

The tracks detected from the input video, including recognized celebrities and other detected faces in the video.

repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;

Returns
Type Description
int

getCelebrityTracksList()

public List<CelebrityTrack> getCelebrityTracksList()

The tracks detected from the input video, including recognized celebrities and other detected faces in the video.

repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;

Returns
Type Description
List<CelebrityTrack>

getCelebrityTracksOrBuilder(int index)

public CelebrityTrackOrBuilder getCelebrityTracksOrBuilder(int index)

The tracks detected from the input video, including recognized celebrities and other detected faces in the video.

repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;

Parameter
Name Description
index int
Returns
Type Description
CelebrityTrackOrBuilder

getCelebrityTracksOrBuilderList()

public List<? extends CelebrityTrackOrBuilder> getCelebrityTracksOrBuilderList()

The tracks detected from the input video, including recognized celebrities and other detected faces in the video.

repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder>

getDefaultInstanceForType()

public CelebrityRecognitionAnnotation getDefaultInstanceForType()
Returns
Type Description
CelebrityRecognitionAnnotation

getParserForType()

public Parser<CelebrityRecognitionAnnotation> getParserForType()
Returns
Type Description
Parser<CelebrityRecognitionAnnotation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CelebrityRecognitionAnnotation.Builder newBuilderForType()
Returns
Type Description
CelebrityRecognitionAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CelebrityRecognitionAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CelebrityRecognitionAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CelebrityRecognitionAnnotation.Builder toBuilder()
Returns
Type Description
CelebrityRecognitionAnnotation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException