public static final class ExplicitContentFrame.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder> implements ExplicitContentFrameOrBuilder
Video frame level annotation results for explicit content.Protobuf type
google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame| Modifier and Type | Method and Description |
|---|---|
ExplicitContentFrame.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplicitContentFrame |
build() |
ExplicitContentFrame |
buildPartial() |
ExplicitContentFrame.Builder |
clear() |
ExplicitContentFrame.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExplicitContentFrame.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExplicitContentFrame.Builder |
clearPornographyLikelihood()
Likelihood of the pornography content..
|
ExplicitContentFrame.Builder |
clearTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
ExplicitContentFrame.Builder |
clone() |
ExplicitContentFrame |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Duration.Builder |
getTimeOffsetBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExplicitContentFrame.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExplicitContentFrame.Builder |
mergeFrom(ExplicitContentFrame other) |
ExplicitContentFrame.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExplicitContentFrame.Builder |
mergeTimeOffset(com.google.protobuf.Duration value)
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
ExplicitContentFrame.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExplicitContentFrame.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplicitContentFrame.Builder |
setPornographyLikelihood(Likelihood value)
Likelihood of the pornography content..
|
ExplicitContentFrame.Builder |
setPornographyLikelihoodValue(int value)
Likelihood of the pornography content..
|
ExplicitContentFrame.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExplicitContentFrame.Builder |
setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
ExplicitContentFrame.Builder |
setTimeOffset(com.google.protobuf.Duration value)
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
|
ExplicitContentFrame.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExplicitContentFrame build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExplicitContentFrame buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExplicitContentFrame.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder mergeFrom(ExplicitContentFrame other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public ExplicitContentFrame.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplicitContentFrame.Builder>IOExceptionpublic 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;hasTimeOffset in interface ExplicitContentFrameOrBuilderpublic 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;getTimeOffset in interface ExplicitContentFrameOrBuilderpublic ExplicitContentFrame.Builder setTimeOffset(com.google.protobuf.Duration value)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;public ExplicitContentFrame.Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;public ExplicitContentFrame.Builder mergeTimeOffset(com.google.protobuf.Duration value)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;public ExplicitContentFrame.Builder clearTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;public com.google.protobuf.Duration.Builder getTimeOffsetBuilder()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 1;public 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;getTimeOffsetOrBuilder in interface ExplicitContentFrameOrBuilderpublic int getPornographyLikelihoodValue()
Likelihood of the pornography content..
.google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2;getPornographyLikelihoodValue in interface ExplicitContentFrameOrBuilderpublic ExplicitContentFrame.Builder setPornographyLikelihoodValue(int value)
Likelihood of the pornography content..
.google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2;value - The enum numeric value on the wire for pornographyLikelihood to set.public Likelihood getPornographyLikelihood()
Likelihood of the pornography content..
.google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2;getPornographyLikelihood in interface ExplicitContentFrameOrBuilderpublic ExplicitContentFrame.Builder setPornographyLikelihood(Likelihood value)
Likelihood of the pornography content..
.google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2;value - The pornographyLikelihood to set.public ExplicitContentFrame.Builder clearPornographyLikelihood()
Likelihood of the pornography content..
.google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2;public final ExplicitContentFrame.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>public final ExplicitContentFrame.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentFrame.Builder>Copyright © 2020 Google LLC. All rights reserved.