Interface ExplicitContentFrameOrBuilder (2.22.0)

public interface ExplicitContentFrameOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPornographyLikelihood()

public abstract Likelihood getPornographyLikelihood()

Likelihood of the pornography content..

.google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2;

Returns
TypeDescription
Likelihood

The pornographyLikelihood.

getPornographyLikelihoodValue()

public abstract int getPornographyLikelihoodValue()

Likelihood of the pornography content..

.google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for pornographyLikelihood.

getTimeOffset()

public abstract Duration getTimeOffset()

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

.google.protobuf.Duration time_offset = 1;

Returns
TypeDescription
Duration

The timeOffset.

getTimeOffsetOrBuilder()

public abstract DurationOrBuilder getTimeOffsetOrBuilder()

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

.google.protobuf.Duration time_offset = 1;

Returns
TypeDescription
DurationOrBuilder

hasTimeOffset()

public abstract boolean hasTimeOffset()

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

.google.protobuf.Duration time_offset = 1;

Returns
TypeDescription
boolean

Whether the timeOffset field is set.