Class ExplicitContentDetectionConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
- com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder
-
- All Implemented Interfaces:
ExplicitContentDetectionConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExplicitContentDetectionConfig
public static final class ExplicitContentDetectionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder> implements ExplicitContentDetectionConfigOrBuilder
Config for EXPLICIT_CONTENT_DETECTION.
Protobuf typegoogle.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExplicitContentDetectionConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExplicitContentDetectionConfigbuild()ExplicitContentDetectionConfigbuildPartial()ExplicitContentDetectionConfig.Builderclear()ExplicitContentDetectionConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExplicitContentDetectionConfig.BuilderclearModel()Model to use for explicit content detection.ExplicitContentDetectionConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExplicitContentDetectionConfig.Builderclone()ExplicitContentDetectionConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetModel()Model to use for explicit content detection.com.google.protobuf.ByteStringgetModelBytes()Model to use for explicit content detection.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExplicitContentDetectionConfig.BuildermergeFrom(ExplicitContentDetectionConfig other)ExplicitContentDetectionConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExplicitContentDetectionConfig.BuildermergeFrom(com.google.protobuf.Message other)ExplicitContentDetectionConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExplicitContentDetectionConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExplicitContentDetectionConfig.BuildersetModel(String value)Model to use for explicit content detection.ExplicitContentDetectionConfig.BuildersetModelBytes(com.google.protobuf.ByteString value)Model to use for explicit content detection.ExplicitContentDetectionConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExplicitContentDetectionConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
clear
public ExplicitContentDetectionConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
getDefaultInstanceForType
public ExplicitContentDetectionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExplicitContentDetectionConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExplicitContentDetectionConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExplicitContentDetectionConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
setField
public ExplicitContentDetectionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
clearField
public ExplicitContentDetectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
clearOneof
public ExplicitContentDetectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
setRepeatedField
public ExplicitContentDetectionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
addRepeatedField
public ExplicitContentDetectionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
mergeFrom
public ExplicitContentDetectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExplicitContentDetectionConfig.Builder>
-
mergeFrom
public ExplicitContentDetectionConfig.Builder mergeFrom(ExplicitContentDetectionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
mergeFrom
public ExplicitContentDetectionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExplicitContentDetectionConfig.Builder>- Throws:
IOException
-
getModel
public String getModel()
Model to use for explicit content detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;- Specified by:
getModelin interfaceExplicitContentDetectionConfigOrBuilder- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()
Model to use for explicit content detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;- Specified by:
getModelBytesin interfaceExplicitContentDetectionConfigOrBuilder- Returns:
- The bytes for model.
-
setModel
public ExplicitContentDetectionConfig.Builder setModel(String value)
Model to use for explicit content detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;- Parameters:
value- The model to set.- Returns:
- This builder for chaining.
-
clearModel
public ExplicitContentDetectionConfig.Builder clearModel()
Model to use for explicit content detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;- Returns:
- This builder for chaining.
-
setModelBytes
public ExplicitContentDetectionConfig.Builder setModelBytes(com.google.protobuf.ByteString value)
Model to use for explicit content detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;- Parameters:
value- The bytes for model to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExplicitContentDetectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
mergeUnknownFields
public final ExplicitContentDetectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
-