public static final class DocumentProcessingConfig.ParsingConfig.OcrParsingConfig extends com.google.protobuf.GeneratedMessageV3 implements DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilder
The OCR parsing configurations for documents.Protobuf type
google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder
The OCR parsing configurations for documents.
|
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 |
ENHANCED_DOCUMENT_ELEMENTS_FIELD_NUMBER |
static int |
USE_NATIVE_TEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
getDefaultInstance() |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEnhancedDocumentElements(int index)
Deprecated.
google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements
is deprecated. See
google/cloud/discoveryengine/v1alpha/document_processing_config.proto;l=76
|
com.google.protobuf.ByteString |
getEnhancedDocumentElementsBytes(int index)
Deprecated.
google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements
is deprecated. See
google/cloud/discoveryengine/v1alpha/document_processing_config.proto;l=76
|
int |
getEnhancedDocumentElementsCount()
Deprecated.
google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements
is deprecated. See
google/cloud/discoveryengine/v1alpha/document_processing_config.proto;l=76
|
com.google.protobuf.ProtocolStringList |
getEnhancedDocumentElementsList()
Deprecated.
google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements
is deprecated. See
google/cloud/discoveryengine/v1alpha/document_processing_config.proto;l=76
|
com.google.protobuf.Parser<DocumentProcessingConfig.ParsingConfig.OcrParsingConfig> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getUseNativeText()
If true, will use native text instead of OCR text on pages containing
native text.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
newBuilder() |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
newBuilder(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig prototype) |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
newBuilderForType() |
protected DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseDelimitedFrom(InputStream input) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(byte[] data) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(ByteBuffer data) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(com.google.protobuf.ByteString data) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(InputStream input) |
static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DocumentProcessingConfig.ParsingConfig.OcrParsingConfig> |
parser() |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.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 ENHANCED_DOCUMENT_ELEMENTS_FIELD_NUMBER
public static final int USE_NATIVE_TEXT_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.GeneratedMessageV3@Deprecated public com.google.protobuf.ProtocolStringList getEnhancedDocumentElementsList()
[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
repeated string enhanced_document_elements = 1 [deprecated = true];getEnhancedDocumentElementsList in interface DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilder@Deprecated public int getEnhancedDocumentElementsCount()
[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
repeated string enhanced_document_elements = 1 [deprecated = true];getEnhancedDocumentElementsCount in interface DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilder@Deprecated public String getEnhancedDocumentElements(int index)
[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
repeated string enhanced_document_elements = 1 [deprecated = true];getEnhancedDocumentElements in interface DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilderindex - The index of the element to return.@Deprecated public com.google.protobuf.ByteString getEnhancedDocumentElementsBytes(int index)
[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
repeated string enhanced_document_elements = 1 [deprecated = true];getEnhancedDocumentElementsBytes in interface DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilderindex - The index of the value to return.public boolean getUseNativeText()
If true, will use native text instead of OCR text on pages containing native text.
bool use_native_text = 2;getUseNativeText in interface DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilderpublic 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 DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder newBuilder()
public static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder newBuilder(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig prototype)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DocumentProcessingConfig.ParsingConfig.OcrParsingConfig getDefaultInstance()
public static com.google.protobuf.Parser<DocumentProcessingConfig.ParsingConfig.OcrParsingConfig> parser()
public com.google.protobuf.Parser<DocumentProcessingConfig.ParsingConfig.OcrParsingConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.