public static final class TagRecognizerConfig.Builder extends GeneratedMessageV3.Builder<TagRecognizerConfig.Builder> implements TagRecognizerConfigOrBuilder
Message describing TagRecognizerConfig.
Protobuf type google.cloud.visionai.v1.TagRecognizerConfig
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TagRecognizerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TagRecognizerConfig build()
buildPartial()
public TagRecognizerConfig buildPartial()
clear()
public TagRecognizerConfig.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public TagRecognizerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TagRecognizerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTagParsingConfig()
public TagRecognizerConfig.Builder clearTagParsingConfig()
Configuration to customize how tags are parsed.
.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;
clone()
public TagRecognizerConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public TagRecognizerConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getTagParsingConfigBuilder()
public TagParsingConfig.Builder getTagParsingConfigBuilder()
Configuration to customize how tags are parsed.
.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;
getTagParsingConfigOrBuilder()
public TagParsingConfigOrBuilder getTagParsingConfigOrBuilder()
Configuration to customize how tags are parsed.
.google.cloud.visionai.v1.TagParsingConfig tag_parsing_config = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TagRecognizerConfig other)
public TagRecognizerConfig.Builder mergeFrom(TagRecognizerConfig other)
public TagRecognizerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TagRecognizerConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TagRecognizerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TagRecognizerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TagRecognizerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final TagRecognizerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides