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.v1.ExplicitContentAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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.v1.ExplicitContentFrame frames = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.ExplicitContentFrame>
|
addFrames(ExplicitContentFrame value)
public ExplicitContentAnnotation.Builder addFrames(ExplicitContentFrame value)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1.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.v1.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.v1.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.v1.ExplicitContentFrame frames = 1;
addFramesBuilder()
public ExplicitContentFrame.Builder addFramesBuilder()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1;
addFramesBuilder(int index)
public ExplicitContentFrame.Builder addFramesBuilder(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExplicitContentAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExplicitContentAnnotation build()
buildPartial()
public ExplicitContentAnnotation buildPartial()
clear()
public ExplicitContentAnnotation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExplicitContentAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFrames()
public ExplicitContentAnnotation.Builder clearFrames()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ExplicitContentAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersion()
public ExplicitContentAnnotation.Builder clearVersion()
Feature version.
string version = 2;
clone()
public ExplicitContentAnnotation.Builder clone()
Overrides
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.v1.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.v1.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.v1.ExplicitContentFrame frames = 1;
getFramesCount()
public int getFramesCount()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1;
Returns |
---|
Type | Description |
int | |
getFramesList()
public List<ExplicitContentFrame> getFramesList()
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1;
getFramesOrBuilder(int index)
public ExplicitContentFrameOrBuilder getFramesOrBuilder(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1.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.v1.ExplicitContentFrame frames = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> | |
getVersion()
public String getVersion()
Feature version.
string version = 2;
Returns |
---|
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Feature version.
string version = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for version.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExplicitContentAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFrames(int index)
public ExplicitContentAnnotation.Builder removeFrames(int index)
All video frames where explicit content was detected.
repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExplicitContentAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.v1.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.v1.ExplicitContentFrame frames = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExplicitContentAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExplicitContentAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersion(String value)
public ExplicitContentAnnotation.Builder setVersion(String value)
Feature version.
string version = 2;
Parameter |
---|
Name | Description |
value | String
The version to set.
|
setVersionBytes(ByteString value)
public ExplicitContentAnnotation.Builder setVersionBytes(ByteString value)
Feature version.
string version = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for version to set.
|