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
Static Fields
CELEBRITY_FIELD_NUMBER
public static final int CELEBRITY_FIELD_NUMBER
Field Value
CONFIDENCE_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CelebrityTrack.RecognizedCelebrity getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CelebrityTrack.RecognizedCelebrity.Builder newBuilder()
Returns
newBuilder(CelebrityTrack.RecognizedCelebrity prototype)
public static CelebrityTrack.RecognizedCelebrity.Builder newBuilder(CelebrityTrack.RecognizedCelebrity prototype)
Parameter
Returns
public static CelebrityTrack.RecognizedCelebrity parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CelebrityTrack.RecognizedCelebrity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CelebrityTrack.RecognizedCelebrity parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CelebrityTrack.RecognizedCelebrity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CelebrityTrack.RecognizedCelebrity parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CelebrityTrack.RecognizedCelebrity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CelebrityTrack.RecognizedCelebrity parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CelebrityTrack.RecognizedCelebrity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CelebrityTrack.RecognizedCelebrity parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CelebrityTrack.RecognizedCelebrity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CelebrityTrack.RecognizedCelebrity parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CelebrityTrack.RecognizedCelebrity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CelebrityTrack.RecognizedCelebrity> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCelebrity()
public Celebrity getCelebrity()
The recognized celebrity.
.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1;
Returns
getCelebrityOrBuilder()
public CelebrityOrBuilder getCelebrityOrBuilder()
The recognized celebrity.
.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1;
Returns
getConfidence()
public float getConfidence()
Recognition confidence. Range [0, 1].
float confidence = 2;
Returns
Type | Description |
float | The confidence.
|
getDefaultInstanceForType()
public CelebrityTrack.RecognizedCelebrity getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CelebrityTrack.RecognizedCelebrity> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCelebrity()
public boolean hasCelebrity()
The recognized celebrity.
.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1;
Returns
Type | Description |
boolean | Whether the celebrity field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CelebrityTrack.RecognizedCelebrity.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CelebrityTrack.RecognizedCelebrity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CelebrityTrack.RecognizedCelebrity.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions