public static final class ExplicitContentAnnotation.Builder extends GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder> implements ExplicitContentAnnotationOrBuilder
Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.Protobuf type
google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ExplicitContentAnnotation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ExplicitContentAnnotation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ExplicitContentAnnotation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder mergeFrom(ExplicitContentAnnotation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public ExplicitContentAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ExplicitContentAnnotation.Builder>
java.io.IOException
public java.util.List<ExplicitContentFrame> getFramesList()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
getFramesList
in interface ExplicitContentAnnotationOrBuilder
public int getFramesCount()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
getFramesCount
in interface ExplicitContentAnnotationOrBuilder
public ExplicitContentFrame getFrames(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
getFrames
in interface ExplicitContentAnnotationOrBuilder
public ExplicitContentAnnotation.Builder setFrames(int index, ExplicitContentFrame value)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentAnnotation.Builder setFrames(int index, ExplicitContentFrame.Builder builderForValue)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentAnnotation.Builder addFrames(ExplicitContentFrame value)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentAnnotation.Builder addFrames(int index, ExplicitContentFrame value)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentAnnotation.Builder addFrames(ExplicitContentFrame.Builder builderForValue)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentAnnotation.Builder addFrames(int index, ExplicitContentFrame.Builder builderForValue)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentAnnotation.Builder addAllFrames(java.lang.Iterable<? extends ExplicitContentFrame> values)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentAnnotation.Builder clearFrames()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentAnnotation.Builder removeFrames(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentFrame.Builder getFramesBuilder(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentFrameOrBuilder getFramesOrBuilder(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
getFramesOrBuilder
in interface ExplicitContentAnnotationOrBuilder
public java.util.List<? extends ExplicitContentFrameOrBuilder> getFramesOrBuilderList()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
getFramesOrBuilderList
in interface ExplicitContentAnnotationOrBuilder
public ExplicitContentFrame.Builder addFramesBuilder()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public ExplicitContentFrame.Builder addFramesBuilder(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public java.util.List<ExplicitContentFrame.Builder> getFramesBuilderList()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1;
public final ExplicitContentAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>
public final ExplicitContentAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ExplicitContentAnnotation.Builder>