Interface ExplicitContentFrameOrBuilder (2.46.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
Type Description
Likelihood

The pornographyLikelihood.

getPornographyLikelihoodValue()

public abstract int getPornographyLikelihoodValue()

Likelihood of the pornography content..

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the timeOffset field is set.