public final class CelebrityTrack extends com.google.protobuf.GeneratedMessageV3 implements CelebrityTrackOrBuilder
The annotation result of a celebrity face track. RecognizedCelebrity field could be empty if the face track does not have any matched celebrities.Protobuf type
google.cloud.videointelligence.v1p3beta1.CelebrityTrack| Modifier and Type | Class and Description |
|---|---|
static class |
CelebrityTrack.Builder
The annotation result of a celebrity face track.
|
static class |
CelebrityTrack.RecognizedCelebrity
The recognized celebrity with confidence score.
|
static interface |
CelebrityTrack.RecognizedCelebrityOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CELEBRITIES_FIELD_NUMBER |
static int |
FACE_TRACK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CelebrityTrack.RecognizedCelebrity |
getCelebrities(int index)
Top N match of the celebrities for the face in this track.
|
int |
getCelebritiesCount()
Top N match of the celebrities for the face in this track.
|
List<CelebrityTrack.RecognizedCelebrity> |
getCelebritiesList()
Top N match of the celebrities for the face in this track.
|
CelebrityTrack.RecognizedCelebrityOrBuilder |
getCelebritiesOrBuilder(int index)
Top N match of the celebrities for the face in this track.
|
List<? extends CelebrityTrack.RecognizedCelebrityOrBuilder> |
getCelebritiesOrBuilderList()
Top N match of the celebrities for the face in this track.
|
static CelebrityTrack |
getDefaultInstance() |
CelebrityTrack |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Track |
getFaceTrack()
A track of a person's face.
|
TrackOrBuilder |
getFaceTrackOrBuilder()
A track of a person's face.
|
com.google.protobuf.Parser<CelebrityTrack> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasFaceTrack()
A track of a person's face.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CelebrityTrack.Builder |
newBuilder() |
static CelebrityTrack.Builder |
newBuilder(CelebrityTrack prototype) |
CelebrityTrack.Builder |
newBuilderForType() |
protected CelebrityTrack.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CelebrityTrack |
parseDelimitedFrom(InputStream input) |
static CelebrityTrack |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CelebrityTrack |
parseFrom(byte[] data) |
static CelebrityTrack |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CelebrityTrack |
parseFrom(ByteBuffer data) |
static CelebrityTrack |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CelebrityTrack |
parseFrom(com.google.protobuf.ByteString data) |
static CelebrityTrack |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CelebrityTrack |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CelebrityTrack |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CelebrityTrack |
parseFrom(InputStream input) |
static CelebrityTrack |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CelebrityTrack> |
parser() |
CelebrityTrack.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CELEBRITIES_FIELD_NUMBER
public static final int FACE_TRACK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<CelebrityTrack.RecognizedCelebrity> getCelebritiesList()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
getCelebritiesList in interface CelebrityTrackOrBuilderpublic List<? extends CelebrityTrack.RecognizedCelebrityOrBuilder> getCelebritiesOrBuilderList()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
getCelebritiesOrBuilderList in interface CelebrityTrackOrBuilderpublic int getCelebritiesCount()
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
getCelebritiesCount in interface CelebrityTrackOrBuilderpublic CelebrityTrack.RecognizedCelebrity getCelebrities(int index)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
getCelebrities in interface CelebrityTrackOrBuilderpublic CelebrityTrack.RecognizedCelebrityOrBuilder getCelebritiesOrBuilder(int index)
Top N match of the celebrities for the face in this track.
repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1;
getCelebritiesOrBuilder in interface CelebrityTrackOrBuilderpublic boolean hasFaceTrack()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;hasFaceTrack in interface CelebrityTrackOrBuilderpublic Track getFaceTrack()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;getFaceTrack in interface CelebrityTrackOrBuilderpublic TrackOrBuilder getFaceTrackOrBuilder()
A track of a person's face.
.google.cloud.videointelligence.v1p3beta1.Track face_track = 3;getFaceTrackOrBuilder in interface CelebrityTrackOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CelebrityTrack parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CelebrityTrack parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CelebrityTrack parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CelebrityTrack parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CelebrityTrack parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CelebrityTrack parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CelebrityTrack parseFrom(InputStream input) throws IOException
IOExceptionpublic static CelebrityTrack parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CelebrityTrack parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CelebrityTrack parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CelebrityTrack parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CelebrityTrack parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CelebrityTrack.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CelebrityTrack.Builder newBuilder()
public static CelebrityTrack.Builder newBuilder(CelebrityTrack prototype)
public CelebrityTrack.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CelebrityTrack.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CelebrityTrack getDefaultInstance()
public static com.google.protobuf.Parser<CelebrityTrack> parser()
public com.google.protobuf.Parser<CelebrityTrack> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CelebrityTrack getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.