Send feedback
Class DocumentSchema.Metadata (2.46.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.46.0 keyboard_arrow_down
public static final class DocumentSchema . Metadata extends GeneratedMessageV3 implements DocumentSchema . MetadataOrBuilder
Metadata for global schema behavior.
Protobuf type google.cloud.documentai.v1.DocumentSchema.Metadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DOCUMENT_ALLOW_MULTIPLE_LABELS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DOCUMENT_SPLITTER_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PREFIXED_NAMING_ON_PROPERTIES_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SKIP_NAMING_VALIDATION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static DocumentSchema . Metadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static DocumentSchema . Metadata . Builder newBuilder ()
public static DocumentSchema . Metadata . Builder newBuilder ( DocumentSchema . Metadata prototype )
public static DocumentSchema . Metadata parseDelimitedFrom ( InputStream input )
public static DocumentSchema . Metadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static DocumentSchema . Metadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static DocumentSchema . Metadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static DocumentSchema . Metadata parseFrom ( ByteString data )
public static DocumentSchema . Metadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DocumentSchema . Metadata parseFrom ( CodedInputStream input )
public static DocumentSchema . Metadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DocumentSchema . Metadata parseFrom ( InputStream input )
public static DocumentSchema . Metadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static DocumentSchema . Metadata parseFrom ( ByteBuffer data )
public static DocumentSchema . Metadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<DocumentSchema . Metadata > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public DocumentSchema . Metadata getDefaultInstanceForType ()
public boolean getDocumentAllowMultipleLabels ()
If true, on a given page, there can be multiple document
annotations
covering it.
bool document_allow_multiple_labels = 2;
Returns
Type
Description
boolean
The documentAllowMultipleLabels.
public 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
Type
Description
boolean
The documentSplitter.
public Parser<DocumentSchema . Metadata > getParserForType ()
Overrides
public boolean getPrefixedNamingOnProperties ()
If set, all the nested entities must be prefixed with the parents.
bool prefixed_naming_on_properties = 6;
Returns
Type
Description
boolean
The prefixedNamingOnProperties.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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
Type
Description
boolean
The skipNamingValidation.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public DocumentSchema . Metadata . Builder newBuilderForType ()
protected DocumentSchema . Metadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public DocumentSchema . Metadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]