public static final class DocumentSchema.Metadata extends GeneratedMessageV3 implements DocumentSchema.MetadataOrBuilder
Metadata for global schema behavior.
Protobuf type google.cloud.documentai.v1beta3.DocumentSchema.Metadata
Static Fields
public static final int DOCUMENT_ALLOW_MULTIPLE_LABELS_FIELD_NUMBER
Field Value
public static final int DOCUMENT_SPLITTER_FIELD_NUMBER
Field Value
public static final int PREFIXED_NAMING_ON_PROPERTIES_FIELD_NUMBER
Field Value
public static final int SKIP_NAMING_VALIDATION_FIELD_NUMBER
Field Value
Static Methods
public static DocumentSchema.Metadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DocumentSchema.Metadata.Builder newBuilder()
Returns
public static DocumentSchema.Metadata.Builder newBuilder(DocumentSchema.Metadata prototype)
Parameter
Returns
public static DocumentSchema.Metadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DocumentSchema.Metadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DocumentSchema.Metadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DocumentSchema.Metadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public DocumentSchema.Metadata getDefaultInstanceForType()
Returns
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()
Returns
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
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.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DocumentSchema.Metadata.Builder newBuilderForType()
Returns
protected DocumentSchema.Metadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DocumentSchema.Metadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions