public final class DocumentSchema extends com.google.protobuf.GeneratedMessageV3 implements DocumentSchemaOrBuilder
The schema defines the output of the processed document by a processor.Protobuf type
google.cloud.documentai.v1beta3.DocumentSchema| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentSchema.Builder
The schema defines the output of the processed document by a processor.
|
static class |
DocumentSchema.EntityType
EntityType is the wrapper of a label of the corresponding model with
detailed attributes and limitations for entity-based processors.
|
static interface |
DocumentSchema.EntityTypeOrBuilder |
static class |
DocumentSchema.Metadata
Metadata for global schema behavior.
|
static interface |
DocumentSchema.MetadataOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ENTITY_TYPES_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DocumentSchema |
getDefaultInstance() |
DocumentSchema |
getDefaultInstanceForType() |
String |
getDescription()
Description of the schema.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the schema.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Display name to show to users.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Display name to show to users.
|
DocumentSchema.EntityType |
getEntityTypes(int index)
Entity types of the schema.
|
int |
getEntityTypesCount()
Entity types of the schema.
|
List<DocumentSchema.EntityType> |
getEntityTypesList()
Entity types of the schema.
|
DocumentSchema.EntityTypeOrBuilder |
getEntityTypesOrBuilder(int index)
Entity types of the schema.
|
List<? extends DocumentSchema.EntityTypeOrBuilder> |
getEntityTypesOrBuilderList()
Entity types of the schema.
|
DocumentSchema.Metadata |
getMetadata()
Metadata of the schema.
|
DocumentSchema.MetadataOrBuilder |
getMetadataOrBuilder()
Metadata of the schema.
|
com.google.protobuf.Parser<DocumentSchema> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasMetadata()
Metadata of the schema.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DocumentSchema.Builder |
newBuilder() |
static DocumentSchema.Builder |
newBuilder(DocumentSchema prototype) |
DocumentSchema.Builder |
newBuilderForType() |
protected DocumentSchema.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DocumentSchema |
parseDelimitedFrom(InputStream input) |
static DocumentSchema |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema |
parseFrom(byte[] data) |
static DocumentSchema |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema |
parseFrom(ByteBuffer data) |
static DocumentSchema |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema |
parseFrom(com.google.protobuf.ByteString data) |
static DocumentSchema |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DocumentSchema |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema |
parseFrom(InputStream input) |
static DocumentSchema |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DocumentSchema> |
parser() |
DocumentSchema.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ENTITY_TYPES_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getDisplayName()
Display name to show to users.
string display_name = 1;getDisplayName in interface DocumentSchemaOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Display name to show to users.
string display_name = 1;getDisplayNameBytes in interface DocumentSchemaOrBuilderpublic String getDescription()
Description of the schema.
string description = 2;getDescription in interface DocumentSchemaOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the schema.
string description = 2;getDescriptionBytes in interface DocumentSchemaOrBuilderpublic List<DocumentSchema.EntityType> getEntityTypesList()
Entity types of the schema.
repeated .google.cloud.documentai.v1beta3.DocumentSchema.EntityType entity_types = 3;
getEntityTypesList in interface DocumentSchemaOrBuilderpublic List<? extends DocumentSchema.EntityTypeOrBuilder> getEntityTypesOrBuilderList()
Entity types of the schema.
repeated .google.cloud.documentai.v1beta3.DocumentSchema.EntityType entity_types = 3;
getEntityTypesOrBuilderList in interface DocumentSchemaOrBuilderpublic int getEntityTypesCount()
Entity types of the schema.
repeated .google.cloud.documentai.v1beta3.DocumentSchema.EntityType entity_types = 3;
getEntityTypesCount in interface DocumentSchemaOrBuilderpublic DocumentSchema.EntityType getEntityTypes(int index)
Entity types of the schema.
repeated .google.cloud.documentai.v1beta3.DocumentSchema.EntityType entity_types = 3;
getEntityTypes in interface DocumentSchemaOrBuilderpublic DocumentSchema.EntityTypeOrBuilder getEntityTypesOrBuilder(int index)
Entity types of the schema.
repeated .google.cloud.documentai.v1beta3.DocumentSchema.EntityType entity_types = 3;
getEntityTypesOrBuilder in interface DocumentSchemaOrBuilderpublic boolean hasMetadata()
Metadata of the schema.
.google.cloud.documentai.v1beta3.DocumentSchema.Metadata metadata = 4;hasMetadata in interface DocumentSchemaOrBuilderpublic DocumentSchema.Metadata getMetadata()
Metadata of the schema.
.google.cloud.documentai.v1beta3.DocumentSchema.Metadata metadata = 4;getMetadata in interface DocumentSchemaOrBuilderpublic DocumentSchema.MetadataOrBuilder getMetadataOrBuilder()
Metadata of the schema.
.google.cloud.documentai.v1beta3.DocumentSchema.Metadata metadata = 4;getMetadataOrBuilder in interface DocumentSchemaOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DocumentSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema parseFrom(InputStream input) throws IOException
IOExceptionpublic static DocumentSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DocumentSchema parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DocumentSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DocumentSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DocumentSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DocumentSchema.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DocumentSchema.Builder newBuilder()
public static DocumentSchema.Builder newBuilder(DocumentSchema prototype)
public DocumentSchema.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DocumentSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DocumentSchema getDefaultInstance()
public static com.google.protobuf.Parser<DocumentSchema> parser()
public com.google.protobuf.Parser<DocumentSchema> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DocumentSchema getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.