Class TagRecognizerConfig (0.9.0)

public final class TagRecognizerConfig extends GeneratedMessageV3 implements TagRecognizerConfigOrBuilder

Message describing TagRecognizerConfig.

Protobuf type google.cloud.visionai.v1.TagRecognizerConfig

Static Fields

ENTITY_DETECTION_CONFIDENCE_THRESHOLD_FIELD_NUMBER

public static final int ENTITY_DETECTION_CONFIDENCE_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

TAG_PARSING_CONFIG_FIELD_NUMBER

public static final int TAG_PARSING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TagRecognizerConfig getDefaultInstance()
Returns
Type Description
TagRecognizerConfig

getDescriptor()

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

newBuilder()

public static TagRecognizerConfig.Builder newBuilder()
Returns
Type Description
TagRecognizerConfig.Builder

newBuilder(TagRecognizerConfig prototype)

public static TagRecognizerConfig.Builder newBuilder(TagRecognizerConfig prototype)
Parameter
Name Description
prototype TagRecognizerConfig
Returns
Type Description
TagRecognizerConfig.Builder

parseDelimitedFrom(InputStream input)

public static TagRecognizerConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TagRecognizerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TagRecognizerConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TagRecognizerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TagRecognizerConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TagRecognizerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TagRecognizerConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TagRecognizerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TagRecognizerConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TagRecognizerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TagRecognizerConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TagRecognizerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagRecognizerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TagRecognizerConfig> parser()
Returns
Type Description
Parser<TagRecognizerConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TagRecognizerConfig getDefaultInstanceForType()
Returns
Type Description
TagRecognizerConfig

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.

getParserForType()

public Parser<TagRecognizerConfig> getParserForType()
Returns
Type Description
Parser<TagRecognizerConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TagRecognizerConfig.Builder newBuilderForType()
Returns
Type Description
TagRecognizerConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TagRecognizerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TagRecognizerConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TagRecognizerConfig.Builder toBuilder()
Returns
Type Description
TagRecognizerConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException