Class GeneralObjectDetectionConfig.Builder (0.8.0)

public static final class GeneralObjectDetectionConfig.Builder extends GeneratedMessageV3.Builder<GeneralObjectDetectionConfig.Builder> implements GeneralObjectDetectionConfigOrBuilder

Message of configurations for General Object Detection processor.

Protobuf type google.cloud.visionai.v1.GeneralObjectDetectionConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GeneralObjectDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

build()

public GeneralObjectDetectionConfig build()
Returns
Type Description
GeneralObjectDetectionConfig

buildPartial()

public GeneralObjectDetectionConfig buildPartial()
Returns
Type Description
GeneralObjectDetectionConfig

clear()

public GeneralObjectDetectionConfig.Builder clear()
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GeneralObjectDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GeneralObjectDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

clone()

public GeneralObjectDetectionConfig.Builder clone()
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

getDefaultInstanceForType()

public GeneralObjectDetectionConfig getDefaultInstanceForType()
Returns
Type Description
GeneralObjectDetectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GeneralObjectDetectionConfig other)

public GeneralObjectDetectionConfig.Builder mergeFrom(GeneralObjectDetectionConfig other)
Parameter
Name Description
other GeneralObjectDetectionConfig
Returns
Type Description
GeneralObjectDetectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GeneralObjectDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GeneralObjectDetectionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GeneralObjectDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GeneralObjectDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GeneralObjectDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GeneralObjectDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GeneralObjectDetectionConfig.Builder
Overrides