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.v1.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.v1.ExplicitContentDetectionConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExplicitContentDetectionConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExplicitContentDetectionConfig
build()
ExplicitContentDetectionConfig
buildPartial()
ExplicitContentDetectionConfig.Builder
clear()
ExplicitContentDetectionConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ExplicitContentDetectionConfig.Builder
clearModel()
Model to use for explicit content detection.ExplicitContentDetectionConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ExplicitContentDetectionConfig.Builder
clone()
ExplicitContentDetectionConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getModel()
Model to use for explicit content detection.com.google.protobuf.ByteString
getModelBytes()
Model to use for explicit content detection.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ExplicitContentDetectionConfig.Builder
mergeFrom(ExplicitContentDetectionConfig other)
ExplicitContentDetectionConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExplicitContentDetectionConfig.Builder
mergeFrom(com.google.protobuf.Message other)
ExplicitContentDetectionConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExplicitContentDetectionConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExplicitContentDetectionConfig.Builder
setModel(String value)
Model to use for explicit content detection.ExplicitContentDetectionConfig.Builder
setModelBytes(com.google.protobuf.ByteString value)
Model to use for explicit content detection.ExplicitContentDetectionConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExplicitContentDetectionConfig.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
clear
public ExplicitContentDetectionConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
getDefaultInstanceForType
public ExplicitContentDetectionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExplicitContentDetectionConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExplicitContentDetectionConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExplicitContentDetectionConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
setField
public ExplicitContentDetectionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
clearField
public ExplicitContentDetectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
clearOneof
public ExplicitContentDetectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
setRepeatedField
public ExplicitContentDetectionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
addRepeatedField
public ExplicitContentDetectionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
mergeFrom
public ExplicitContentDetectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExplicitContentDetectionConfig.Builder>
-
mergeFrom
public ExplicitContentDetectionConfig.Builder mergeFrom(ExplicitContentDetectionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getModel
in 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:
getModelBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
mergeUnknownFields
public final ExplicitContentDetectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplicitContentDetectionConfig.Builder>
-
-