Interface TagParsingConfig.EntityParsingConfigOrBuilder (0.6.0)

public static interface TagParsingConfig.EntityParsingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntityClass()

public abstract String getEntityClass()

Required. The tag entity class name. This should match the class name produced by the tag entity detection model.

string entity_class = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The entityClass.

getEntityClassBytes()

public abstract ByteString getEntityClassBytes()

Required. The tag entity class name. This should match the class name produced by the tag entity detection model.

string entity_class = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for entityClass.

getEntityMatchingStrategy()

public abstract TagParsingConfig.EntityParsingConfig.EntityMatchingStrategy getEntityMatchingStrategy()

Optional. Entity matching strategy.

.google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig.EntityMatchingStrategy entity_matching_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TagParsingConfig.EntityParsingConfig.EntityMatchingStrategy

The entityMatchingStrategy.

getEntityMatchingStrategyValue()

public abstract int getEntityMatchingStrategyValue()

Optional. Entity matching strategy.

.google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig.EntityMatchingStrategy entity_matching_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for entityMatchingStrategy.

getRegex()

public abstract String getRegex()

Optional. An regular expression hint.

string regex = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The regex.

getRegexBytes()

public abstract ByteString getRegexBytes()

Optional. An regular expression hint.

string regex = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for regex.