public final class CelebrityRecognitionAnnotation extends GeneratedMessageV3 implements CelebrityRecognitionAnnotationOrBuilder
Celebrity recognition annotation per video.
Protobuf type google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CelebrityRecognitionAnnotation.Builder newBuilder()
newBuilder(CelebrityRecognitionAnnotation prototype)
public static CelebrityRecognitionAnnotation.Builder newBuilder(CelebrityRecognitionAnnotation prototype)
public static CelebrityRecognitionAnnotation parseDelimitedFrom(InputStream input)
public static CelebrityRecognitionAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CelebrityRecognitionAnnotation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CelebrityRecognitionAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CelebrityRecognitionAnnotation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CelebrityRecognitionAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CelebrityRecognitionAnnotation parseFrom(CodedInputStream input)
public static CelebrityRecognitionAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CelebrityRecognitionAnnotation parseFrom(InputStream input)
public static CelebrityRecognitionAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CelebrityRecognitionAnnotation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CelebrityRecognitionAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CelebrityRecognitionAnnotation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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
|
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;
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
|
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()
getParserForType()
public Parser<CelebrityRecognitionAnnotation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CelebrityRecognitionAnnotation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CelebrityRecognitionAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CelebrityRecognitionAnnotation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides