Package com.google.cloud.documentai.v1
Interface DocumentSchema.MetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentSchema.Metadata,DocumentSchema.Metadata.Builder
- Enclosing class:
- DocumentSchema
public static interface DocumentSchema.MetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, on a given page, there can be multiple `document` annotations covering it.booleanIf true, a `document` entity type can be applied to subdocument (splitting).booleanIf set, all the nested entities must be prefixed with the parents.booleanIf set, we will skip the naming format validation in the schema.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
-
getDocumentSplitter
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:
- The documentSplitter.
-
getDocumentAllowMultipleLabels
boolean getDocumentAllowMultipleLabels()If true, on a given page, there can be multiple `document` annotations covering it.
bool document_allow_multiple_labels = 2;- Returns:
- The documentAllowMultipleLabels.
-
getPrefixedNamingOnProperties
boolean getPrefixedNamingOnProperties()If set, all the nested entities must be prefixed with the parents.
bool prefixed_naming_on_properties = 6;- Returns:
- The prefixedNamingOnProperties.
-
getSkipNamingValidation
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:
- The skipNamingValidation.
-