public static final class ExplicitContentAnnotation.Builder extends GeneratedMessage.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.v1p3beta1.ExplicitContentAnnotation
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllFrames(Iterable<? extends ExplicitContentFrame> values)
public ExplicitContentAnnotation.Builder addAllFrames(Iterable<? extends ExplicitContentFrame> values)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame>
|
addFrames(ExplicitContentFrame value)
public ExplicitContentAnnotation.Builder addFrames(ExplicitContentFrame value)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
addFrames(ExplicitContentFrame.Builder builderForValue)
public ExplicitContentAnnotation.Builder addFrames(ExplicitContentFrame.Builder builderForValue)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
addFrames(int index, ExplicitContentFrame value)
public ExplicitContentAnnotation.Builder addFrames(int index, ExplicitContentFrame value)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
addFrames(int index, ExplicitContentFrame.Builder builderForValue)
public ExplicitContentAnnotation.Builder addFrames(int index, ExplicitContentFrame.Builder builderForValue)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
addFramesBuilder()
public ExplicitContentFrame.Builder addFramesBuilder()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
addFramesBuilder(int index)
public ExplicitContentFrame.Builder addFramesBuilder(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public ExplicitContentAnnotation build()
buildPartial()
public ExplicitContentAnnotation buildPartial()
clear()
public ExplicitContentAnnotation.Builder clear()
Overrides
clearFrames()
public ExplicitContentAnnotation.Builder clearFrames()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
getDefaultInstanceForType()
public ExplicitContentAnnotation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFrames(int index)
public ExplicitContentFrame getFrames(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
| Parameter |
| Name |
Description |
index |
int
|
getFramesBuilder(int index)
public ExplicitContentFrame.Builder getFramesBuilder(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
| Parameter |
| Name |
Description |
index |
int
|
getFramesBuilderList()
public List<ExplicitContentFrame.Builder> getFramesBuilderList()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
getFramesCount()
public int getFramesCount()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
| Returns |
| Type |
Description |
int |
|
getFramesList()
public List<ExplicitContentFrame> getFramesList()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
getFramesOrBuilder(int index)
public ExplicitContentFrameOrBuilder getFramesOrBuilder(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
| Parameter |
| Name |
Description |
index |
int
|
getFramesOrBuilderList()
public List<? extends ExplicitContentFrameOrBuilder> getFramesOrBuilderList()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExplicitContentAnnotation other)
public ExplicitContentAnnotation.Builder mergeFrom(ExplicitContentAnnotation other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExplicitContentAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExplicitContentAnnotation.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeFrames(int index)
public ExplicitContentAnnotation.Builder removeFrames(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
| Parameter |
| Name |
Description |
index |
int
|
setFrames(int index, ExplicitContentFrame value)
public ExplicitContentAnnotation.Builder setFrames(int index, ExplicitContentFrame value)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;
setFrames(int index, ExplicitContentFrame.Builder builderForValue)
public ExplicitContentAnnotation.Builder setFrames(int index, ExplicitContentFrame.Builder builderForValue)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1;