Class TagRecognizerConfig.Builder (0.12.0)

public static final class TagRecognizerConfig.Builder extends GeneratedMessageV3.Builder<TagRecognizerConfig.Builder> implements TagRecognizerConfigOrBuilder

Message describing TagRecognizerConfig.

Protobuf type google.cloud.visionai.v1.TagRecognizerConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TagRecognizerConfig build()
Returns
Type Description
TagRecognizerConfig

buildPartial()

public TagRecognizerConfig buildPartial()
Returns
Type Description
TagRecognizerConfig

clear()

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

clearEntityDetectionConfidenceThreshold()

public TagRecognizerConfig.Builder clearEntityDetectionConfidenceThreshold()

Confidence threshold to filter detection results. If not set, a system default value will be used.

float entity_detection_confidence_threshold = 1;

Returns
Type Description
TagRecognizerConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTagParsingConfig()

public TagRecognizerConfig.Builder clearTagParsingConfig()

Configuration to customize how tags are parsed.

.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;

Returns
Type Description
TagRecognizerConfig.Builder

clone()

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

getDefaultInstanceForType()

public TagRecognizerConfig getDefaultInstanceForType()
Returns
Type Description
TagRecognizerConfig

getDescriptorForType()

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

getEntityDetectionConfidenceThreshold()

public float getEntityDetectionConfidenceThreshold()

Confidence threshold to filter detection results. If not set, a system default value will be used.

float entity_detection_confidence_threshold = 1;

Returns
Type Description
float

The entityDetectionConfidenceThreshold.

getTagParsingConfig()

public TagParsingConfig getTagParsingConfig()

Configuration to customize how tags are parsed.

.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;

Returns
Type Description
TagParsingConfig

The tagParsingConfig.

getTagParsingConfigBuilder()

public TagParsingConfig.Builder getTagParsingConfigBuilder()

Configuration to customize how tags are parsed.

.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;

Returns
Type Description
TagParsingConfig.Builder

getTagParsingConfigOrBuilder()

public TagParsingConfigOrBuilder getTagParsingConfigOrBuilder()

Configuration to customize how tags are parsed.

.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;

Returns
Type Description
TagParsingConfigOrBuilder

hasTagParsingConfig()

public boolean hasTagParsingConfig()

Configuration to customize how tags are parsed.

.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;

Returns
Type Description
boolean

Whether the tagParsingConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TagRecognizerConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTagParsingConfig(TagParsingConfig value)

public TagRecognizerConfig.Builder mergeTagParsingConfig(TagParsingConfig value)

Configuration to customize how tags are parsed.

.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;

Parameter
Name Description
value TagParsingConfig
Returns
Type Description
TagRecognizerConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntityDetectionConfidenceThreshold(float value)

public TagRecognizerConfig.Builder setEntityDetectionConfidenceThreshold(float value)

Confidence threshold to filter detection results. If not set, a system default value will be used.

float entity_detection_confidence_threshold = 1;

Parameter
Name Description
value float

The entityDetectionConfidenceThreshold to set.

Returns
Type Description
TagRecognizerConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTagParsingConfig(TagParsingConfig value)

public TagRecognizerConfig.Builder setTagParsingConfig(TagParsingConfig value)

Configuration to customize how tags are parsed.

.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;

Parameter
Name Description
value TagParsingConfig
Returns
Type Description
TagRecognizerConfig.Builder

setTagParsingConfig(TagParsingConfig.Builder builderForValue)

public TagRecognizerConfig.Builder setTagParsingConfig(TagParsingConfig.Builder builderForValue)

Configuration to customize how tags are parsed.

.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;

Parameter
Name Description
builderForValue TagParsingConfig.Builder
Returns
Type Description
TagRecognizerConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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