- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder extends GeneratedMessageV3.Builder<DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder> implements DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilder
The OCR parsing configurations for documents.
Protobuf type
google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllEnhancedDocumentElements(Iterable<String> values) (deprecated)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder addAllEnhancedDocumentElements(Iterable<String> values)
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The enhancedDocumentElements to add. |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
This builder for chaining. |
addEnhancedDocumentElements(String value) (deprecated)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder addEnhancedDocumentElements(String value)
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Parameter | |
---|---|
Name | Description |
value |
String The enhancedDocumentElements to add. |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
This builder for chaining. |
addEnhancedDocumentElementsBytes(ByteString value) (deprecated)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder addEnhancedDocumentElementsBytes(ByteString value)
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the enhancedDocumentElements to add. |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
build()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig build()
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
buildPartial()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig buildPartial()
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
clear()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder clear()
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
clearEnhancedDocumentElements() (deprecated)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder clearEnhancedDocumentElements()
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
clearUseNativeText()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder clearUseNativeText()
If true, will use native text instead of OCR text on pages containing native text.
bool use_native_text = 2;
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
This builder for chaining. |
clone()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder clone()
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
getDefaultInstanceForType()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnhancedDocumentElements(int index) (deprecated)
public String getEnhancedDocumentElements(int index)
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The enhancedDocumentElements at the given index. |
getEnhancedDocumentElementsBytes(int index) (deprecated)
public ByteString getEnhancedDocumentElementsBytes(int index)
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the enhancedDocumentElements at the given index. |
getEnhancedDocumentElementsCount() (deprecated)
public int getEnhancedDocumentElementsCount()
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Returns | |
---|---|
Type | Description |
int |
The count of enhancedDocumentElements. |
getEnhancedDocumentElementsList() (deprecated)
public ProtocolStringList getEnhancedDocumentElementsList()
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the enhancedDocumentElements. |
getUseNativeText()
public boolean getUseNativeText()
If true, will use native text instead of OCR text on pages containing native text.
bool use_native_text = 2;
Returns | |
---|---|
Type | Description |
boolean |
The useNativeText. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig other)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder mergeFrom(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig other)
Parameter | |
---|---|
Name | Description |
other |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
setEnhancedDocumentElements(int index, String value) (deprecated)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder setEnhancedDocumentElements(int index, String value)
Deprecated. google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=52
[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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The enhancedDocumentElements to set. |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
setUseNativeText(boolean value)
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder setUseNativeText(boolean value)
If true, will use native text instead of OCR text on pages containing native text.
bool use_native_text = 2;
Parameter | |
---|---|
Name | Description |
value |
boolean The useNativeText to set. |
Returns | |
---|---|
Type | Description |
DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder |
This builder for chaining. |