public final class CelebrityRecognitionAnnotation extends GeneratedMessageV3 implements CelebrityRecognitionAnnotationOrBuilder
Celebrity recognition annotation per video.
Protobuf type google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation
Static Fields
CELEBRITY_TRACKS_FIELD_NUMBER
public static final int CELEBRITY_TRACKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CelebrityRecognitionAnnotation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CelebrityRecognitionAnnotation.Builder newBuilder()
Returns
newBuilder(CelebrityRecognitionAnnotation prototype)
public static CelebrityRecognitionAnnotation.Builder newBuilder(CelebrityRecognitionAnnotation prototype)
Parameter
Returns
public static CelebrityRecognitionAnnotation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CelebrityRecognitionAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CelebrityRecognitionAnnotation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CelebrityRecognitionAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CelebrityRecognitionAnnotation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CelebrityRecognitionAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CelebrityRecognitionAnnotation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CelebrityRecognitionAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CelebrityRecognitionAnnotation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CelebrityRecognitionAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CelebrityRecognitionAnnotation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CelebrityRecognitionAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CelebrityRecognitionAnnotation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
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
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
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
Returns
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
getParserForType()
public Parser<CelebrityRecognitionAnnotation> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CelebrityRecognitionAnnotation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CelebrityRecognitionAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CelebrityRecognitionAnnotation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions