Class CelebrityTrack.RecognizedCelebrity

public static final class CelebrityTrack.RecognizedCelebrity extends GeneratedMessageV3 implements CelebrityTrack.RecognizedCelebrityOrBuilder

The recognized celebrity with confidence score.

Protobuf type google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CelebrityTrack.RecognizedCelebrity

Fields

CELEBRITY_FIELD_NUMBER

public static final int CELEBRITY_FIELD_NUMBER
Field Value
TypeDescription
int

CONFIDENCE_FIELD_NUMBER

public static final int CONFIDENCE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getCelebrity()

public Celebrity getCelebrity()

The recognized celebrity.

.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1;

Returns
TypeDescription
Celebrity

The celebrity.

getCelebrityOrBuilder()

public CelebrityOrBuilder getCelebrityOrBuilder()

The recognized celebrity.

.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1;

Returns
TypeDescription
CelebrityOrBuilder

getConfidence()

public float getConfidence()

Recognition confidence. Range [0, 1].

float confidence = 2;

Returns
TypeDescription
float

The confidence.

getDefaultInstance()

public static CelebrityTrack.RecognizedCelebrity getDefaultInstance()
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity

getDefaultInstanceForType()

public CelebrityTrack.RecognizedCelebrity getDefaultInstanceForType()
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity

getDescriptor()

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

getParserForType()

public Parser<CelebrityTrack.RecognizedCelebrity> getParserForType()
Returns
TypeDescription
Parser<RecognizedCelebrity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCelebrity()

public boolean hasCelebrity()

The recognized celebrity.

.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1;

Returns
TypeDescription
boolean

Whether the celebrity field is set.

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

newBuilder()

public static CelebrityTrack.RecognizedCelebrity.Builder newBuilder()
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity.Builder

newBuilder(CelebrityTrack.RecognizedCelebrity prototype)

public static CelebrityTrack.RecognizedCelebrity.Builder newBuilder(CelebrityTrack.RecognizedCelebrity prototype)
Parameter
NameDescription
prototypeCelebrityTrack.RecognizedCelebrity
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity.Builder

newBuilderForType()

public CelebrityTrack.RecognizedCelebrity.Builder newBuilderForType()
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

public static CelebrityTrack.RecognizedCelebrity parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CelebrityTrack.RecognizedCelebrity parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CelebrityTrack.RecognizedCelebrity parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CelebrityTrack.RecognizedCelebrity parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CelebrityTrack.RecognizedCelebrity parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CelebrityTrack.RecognizedCelebrity> parser()
Returns
TypeDescription
Parser<RecognizedCelebrity>

toBuilder()

public CelebrityTrack.RecognizedCelebrity.Builder toBuilder()
Returns
TypeDescription
CelebrityTrack.RecognizedCelebrity.Builder

writeTo(CodedOutputStream output)

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