Interface ExplicitContentFrameOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExplicitContentFrame
,ExplicitContentFrame.Builder
public interface ExplicitContentFrameOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Likelihood
getPornographyLikelihood()
Likelihood of the pornography content..int
getPornographyLikelihoodValue()
Likelihood of the pornography content..com.google.protobuf.Duration
getTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.com.google.protobuf.DurationOrBuilder
getTimeOffsetOrBuilder()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.boolean
hasTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTimeOffset
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:
- Whether the timeOffset field is set.
-
getTimeOffset
com.google.protobuf.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:
- The timeOffset.
-
getTimeOffsetOrBuilder
com.google.protobuf.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;
-
getPornographyLikelihoodValue
int getPornographyLikelihoodValue()
Likelihood of the pornography content..
.google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2;
- Returns:
- The enum numeric value on the wire for pornographyLikelihood.
-
getPornographyLikelihood
Likelihood getPornographyLikelihood()
Likelihood of the pornography content..
.google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2;
- Returns:
- The pornographyLikelihood.
-
-