public static final class DocumentSchema.Metadata extends GeneratedMessageV3 implements DocumentSchema.MetadataOrBuilder
Metadata for global schema behavior.
Protobuf type google.cloud.documentai.v1beta3.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)
Overrides
public DocumentSchema.Metadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides