Package com.google.cloud.visionai.v1
Interface TagParsingConfig.EntityParsingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TagParsingConfig.EntityParsingConfig,TagParsingConfig.EntityParsingConfig.Builder
- Enclosing class:
- TagParsingConfig
public static interface TagParsingConfig.EntityParsingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Optional.intOptional.getRegex()Optional.com.google.protobuf.ByteStringOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEntityClass
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:
- The entityClass.
-
getEntityClassBytes
com.google.protobuf.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:
- The bytes for entityClass.
-
getRegex
String getRegex()Optional. An regular expression hint.
string regex = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The regex.
-
getRegexBytes
com.google.protobuf.ByteString getRegexBytes()Optional. An regular expression hint.
string regex = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for regex.
-
getEntityMatchingStrategyValue
int getEntityMatchingStrategyValue()Optional. Entity matching strategy.
.google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig.EntityMatchingStrategy entity_matching_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for entityMatchingStrategy.
-
getEntityMatchingStrategy
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:
- The entityMatchingStrategy.
-