Interface LogoRecognitionAnnotationOrBuilder (2.41.0)

public interface LogoRecognitionAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntity()

public abstract Entity getEntity()

Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.

.google.cloud.videointelligence.v1p3beta1.Entity entity = 1;

Returns
Type Description
Entity

The entity.

getEntityOrBuilder()

public abstract EntityOrBuilder getEntityOrBuilder()

Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.

.google.cloud.videointelligence.v1p3beta1.Entity entity = 1;

Returns
Type Description
EntityOrBuilder

getSegments(int index)

public abstract VideoSegment getSegments(int index)

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoSegment

getSegmentsCount()

public abstract int getSegmentsCount()

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;

Returns
Type Description
int

getSegmentsList()

public abstract List<VideoSegment> getSegmentsList()

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;

Returns
Type Description
List<VideoSegment>

getSegmentsOrBuilder(int index)

public abstract VideoSegmentOrBuilder getSegmentsOrBuilder(int index)

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoSegmentOrBuilder

getSegmentsOrBuilderList()

public abstract List<? extends VideoSegmentOrBuilder> getSegmentsOrBuilderList()

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>

getTracks(int index)

public abstract Track getTracks(int index)

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;

Parameter
Name Description
index int
Returns
Type Description
Track

getTracksCount()

public abstract int getTracksCount()

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;

Returns
Type Description
int

getTracksList()

public abstract List<Track> getTracksList()

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;

Returns
Type Description
List<Track>

getTracksOrBuilder(int index)

public abstract TrackOrBuilder getTracksOrBuilder(int index)

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;

Parameter
Name Description
index int
Returns
Type Description
TrackOrBuilder

getTracksOrBuilderList()

public abstract List<? extends TrackOrBuilder> getTracksOrBuilderList()

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>

hasEntity()

public abstract boolean hasEntity()

Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.

.google.cloud.videointelligence.v1p3beta1.Entity entity = 1;

Returns
Type Description
boolean

Whether the entity field is set.