Interface DocumentSchema.MetadataOrBuilder (2.17.0)

public static interface DocumentSchema.MetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocumentAllowMultipleLabels()

public abstract boolean getDocumentAllowMultipleLabels()

If true, on a given page, there can be multiple document annotations covering it.

bool document_allow_multiple_labels = 2;

Returns
TypeDescription
boolean

The documentAllowMultipleLabels.

getDocumentSplitter()

public abstract boolean getDocumentSplitter()

If true, a document entity type can be applied to subdocument ( splitting). Otherwise, it can only be applied to the entire document (classification).

bool document_splitter = 1;

Returns
TypeDescription
boolean

The documentSplitter.

getPrefixedNamingOnProperties()

public abstract boolean getPrefixedNamingOnProperties()

If set, all the nested entities must be prefixed with the parents.

bool prefixed_naming_on_properties = 6;

Returns
TypeDescription
boolean

The prefixedNamingOnProperties.

getSkipNamingValidation()

public abstract boolean getSkipNamingValidation()

If set, we will skip the naming format validation in the schema. So the string values in DocumentSchema.EntityType.name and DocumentSchema.EntityType.Property.name will not be checked.

bool skip_naming_validation = 7;

Returns
TypeDescription
boolean

The skipNamingValidation.