- 0.79.0 (latest)
- 0.78.0
- 0.77.0
- 0.76.0
- 0.74.0
- 0.72.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 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.Builder extends GeneratedMessage.Builder<DocumentProcessingConfig.Builder> implements DocumentProcessingConfigOrBuilderA singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.
Protobuf type google.cloud.discoveryengine.v1.DocumentProcessingConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DocumentProcessingConfig.BuilderImplements
DocumentProcessingConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DocumentProcessingConfig build()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig |
|
buildPartial()
public DocumentProcessingConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig |
|
clear()
public DocumentProcessingConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
clearChunkingConfig()
public DocumentProcessingConfig.Builder clearChunkingConfig()Whether chunking mode is enabled.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig chunking_config = 3;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
clearDefaultParsingConfig()
public DocumentProcessingConfig.Builder clearDefaultParsingConfig()Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig default_parsing_config = 4;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
clearName()
public DocumentProcessingConfig.Builder clearName() The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
This builder for chaining. |
clearParsingConfigOverrides()
public DocumentProcessingConfig.Builder clearParsingConfigOverrides()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
containsParsingConfigOverrides(String key)
public boolean containsParsingConfigOverrides(String key)Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getChunkingConfig()
public DocumentProcessingConfig.ChunkingConfig getChunkingConfig()Whether chunking mode is enabled.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig chunking_config = 3;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ChunkingConfig |
The chunkingConfig. |
getChunkingConfigBuilder()
public DocumentProcessingConfig.ChunkingConfig.Builder getChunkingConfigBuilder()Whether chunking mode is enabled.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig chunking_config = 3;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ChunkingConfig.Builder |
|
getChunkingConfigOrBuilder()
public DocumentProcessingConfig.ChunkingConfigOrBuilder getChunkingConfigOrBuilder()Whether chunking mode is enabled.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig chunking_config = 3;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ChunkingConfigOrBuilder |
|
getDefaultInstanceForType()
public DocumentProcessingConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig |
|
getDefaultParsingConfig()
public DocumentProcessingConfig.ParsingConfig getDefaultParsingConfig()Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig default_parsing_config = 4;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig |
The defaultParsingConfig. |
getDefaultParsingConfigBuilder()
public DocumentProcessingConfig.ParsingConfig.Builder getDefaultParsingConfigBuilder()Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig default_parsing_config = 4;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.Builder |
|
getDefaultParsingConfigOrBuilder()
public DocumentProcessingConfig.ParsingConfigOrBuilder getDefaultParsingConfigOrBuilder()Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig default_parsing_config = 4;
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfigOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableParsingConfigOverrides() (deprecated)
public Map<String,DocumentProcessingConfig.ParsingConfig> getMutableParsingConfigOverrides()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ParsingConfig> |
|
getName()
public String getName() The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParsingConfigOverrides() (deprecated)
public Map<String,DocumentProcessingConfig.ParsingConfig> getParsingConfigOverrides()Use #getParsingConfigOverridesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ParsingConfig> |
|
getParsingConfigOverridesCount()
public int getParsingConfigOverridesCount()Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Returns | |
|---|---|
| Type | Description |
int |
|
getParsingConfigOverridesMap()
public Map<String,DocumentProcessingConfig.ParsingConfig> getParsingConfigOverridesMap()Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Returns | |
|---|---|
| Type | Description |
Map<String,ParsingConfig> |
|
getParsingConfigOverridesOrDefault(String key, DocumentProcessingConfig.ParsingConfig defaultValue)
public DocumentProcessingConfig.ParsingConfig getParsingConfigOverridesOrDefault(String key, DocumentProcessingConfig.ParsingConfig defaultValue)Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
DocumentProcessingConfig.ParsingConfig |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig |
|
getParsingConfigOverridesOrThrow(String key)
public DocumentProcessingConfig.ParsingConfig getParsingConfigOverridesOrThrow(String key)Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig |
|
hasChunkingConfig()
public boolean hasChunkingConfig()Whether chunking mode is enabled.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig chunking_config = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the chunkingConfig field is set. |
hasDefaultParsingConfig()
public boolean hasDefaultParsingConfig()Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig default_parsing_config = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the defaultParsingConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeChunkingConfig(DocumentProcessingConfig.ChunkingConfig value)
public DocumentProcessingConfig.Builder mergeChunkingConfig(DocumentProcessingConfig.ChunkingConfig value)Whether chunking mode is enabled.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig chunking_config = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DocumentProcessingConfig.ChunkingConfig |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
mergeDefaultParsingConfig(DocumentProcessingConfig.ParsingConfig value)
public DocumentProcessingConfig.Builder mergeDefaultParsingConfig(DocumentProcessingConfig.ParsingConfig value)Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig default_parsing_config = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
DocumentProcessingConfig.ParsingConfig |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
mergeFrom(DocumentProcessingConfig other)
public DocumentProcessingConfig.Builder mergeFrom(DocumentProcessingConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DocumentProcessingConfig |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DocumentProcessingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DocumentProcessingConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
putAllParsingConfigOverrides(Map<String,DocumentProcessingConfig.ParsingConfig> values)
public DocumentProcessingConfig.Builder putAllParsingConfigOverrides(Map<String,DocumentProcessingConfig.ParsingConfig> values)Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,ParsingConfig> |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
putParsingConfigOverrides(String key, DocumentProcessingConfig.ParsingConfig value)
public DocumentProcessingConfig.Builder putParsingConfigOverrides(String key, DocumentProcessingConfig.ParsingConfig value)Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
DocumentProcessingConfig.ParsingConfig |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
putParsingConfigOverridesBuilderIfAbsent(String key)
public DocumentProcessingConfig.ParsingConfig.Builder putParsingConfigOverridesBuilderIfAbsent(String key)Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.ParsingConfig.Builder |
|
removeParsingConfigOverrides(String key)
public DocumentProcessingConfig.Builder removeParsingConfigOverrides(String key)Map from file type to override the default parsing configuration based on the file type. Supported keys:
pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
map<string, .google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig> parsing_config_overrides = 5;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
setChunkingConfig(DocumentProcessingConfig.ChunkingConfig value)
public DocumentProcessingConfig.Builder setChunkingConfig(DocumentProcessingConfig.ChunkingConfig value)Whether chunking mode is enabled.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig chunking_config = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DocumentProcessingConfig.ChunkingConfig |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
setChunkingConfig(DocumentProcessingConfig.ChunkingConfig.Builder builderForValue)
public DocumentProcessingConfig.Builder setChunkingConfig(DocumentProcessingConfig.ChunkingConfig.Builder builderForValue)Whether chunking mode is enabled.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig chunking_config = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DocumentProcessingConfig.ChunkingConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
setDefaultParsingConfig(DocumentProcessingConfig.ParsingConfig value)
public DocumentProcessingConfig.Builder setDefaultParsingConfig(DocumentProcessingConfig.ParsingConfig value)Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig default_parsing_config = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
DocumentProcessingConfig.ParsingConfig |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
setDefaultParsingConfig(DocumentProcessingConfig.ParsingConfig.Builder builderForValue)
public DocumentProcessingConfig.Builder setDefaultParsingConfig(DocumentProcessingConfig.ParsingConfig.Builder builderForValue)Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig default_parsing_config = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DocumentProcessingConfig.ParsingConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
|
setName(String value)
public DocumentProcessingConfig.Builder setName(String value) The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DocumentProcessingConfig.Builder setNameBytes(ByteString value) The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DocumentProcessingConfig.Builder |
This builder for chaining. |