public static final class DocumentProcessingConfig.ParsingConfig.Builder extends GeneratedMessageV3.Builder<DocumentProcessingConfig.ParsingConfig.Builder> implements DocumentProcessingConfig.ParsingConfigOrBuilder
Related configurations applied to a specific type of document parser.
Protobuf type google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentProcessingConfig.ParsingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocumentProcessingConfig.ParsingConfig build()
buildPartial()
public DocumentProcessingConfig.ParsingConfig buildPartial()
clear()
public DocumentProcessingConfig.ParsingConfig.Builder clear()
Overrides
clearDigitalParsingConfig()
public DocumentProcessingConfig.ParsingConfig.Builder clearDigitalParsingConfig()
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
clearField(Descriptors.FieldDescriptor field)
public DocumentProcessingConfig.ParsingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLayoutParsingConfig()
public DocumentProcessingConfig.ParsingConfig.Builder clearLayoutParsingConfig()
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
clearOcrParsingConfig()
public DocumentProcessingConfig.ParsingConfig.Builder clearOcrParsingConfig()
Configurations applied to OCR parser. Currently it only applies to
PDFs.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentProcessingConfig.ParsingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTypeDedicatedConfig()
public DocumentProcessingConfig.ParsingConfig.Builder clearTypeDedicatedConfig()
clone()
public DocumentProcessingConfig.ParsingConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public DocumentProcessingConfig.ParsingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDigitalParsingConfig()
public DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig getDigitalParsingConfig()
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
getDigitalParsingConfigBuilder()
public DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig.Builder getDigitalParsingConfigBuilder()
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
getDigitalParsingConfigOrBuilder()
public DocumentProcessingConfig.ParsingConfig.DigitalParsingConfigOrBuilder getDigitalParsingConfigOrBuilder()
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
getLayoutParsingConfig()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig getLayoutParsingConfig()
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
getLayoutParsingConfigBuilder()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder getLayoutParsingConfigBuilder()
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
getLayoutParsingConfigOrBuilder()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder getLayoutParsingConfigOrBuilder()
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
getOcrParsingConfig()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig getOcrParsingConfig()
Configurations applied to OCR parser. Currently it only applies to
PDFs.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
getOcrParsingConfigBuilder()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder getOcrParsingConfigBuilder()
Configurations applied to OCR parser. Currently it only applies to
PDFs.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
getOcrParsingConfigOrBuilder()
public DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilder getOcrParsingConfigOrBuilder()
Configurations applied to OCR parser. Currently it only applies to
PDFs.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
getTypeDedicatedConfigCase()
public DocumentProcessingConfig.ParsingConfig.TypeDedicatedConfigCase getTypeDedicatedConfigCase()
hasDigitalParsingConfig()
public boolean hasDigitalParsingConfig()
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
Returns |
Type |
Description |
boolean |
Whether the digitalParsingConfig field is set.
|
hasLayoutParsingConfig()
public boolean hasLayoutParsingConfig()
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
Returns |
Type |
Description |
boolean |
Whether the layoutParsingConfig field is set.
|
hasOcrParsingConfig()
public boolean hasOcrParsingConfig()
Configurations applied to OCR parser. Currently it only applies to
PDFs.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
Returns |
Type |
Description |
boolean |
Whether the ocrParsingConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDigitalParsingConfig(DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig value)
public DocumentProcessingConfig.ParsingConfig.Builder mergeDigitalParsingConfig(DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig value)
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
mergeFrom(DocumentProcessingConfig.ParsingConfig other)
public DocumentProcessingConfig.ParsingConfig.Builder mergeFrom(DocumentProcessingConfig.ParsingConfig other)
public DocumentProcessingConfig.ParsingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocumentProcessingConfig.ParsingConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeLayoutParsingConfig(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig value)
public DocumentProcessingConfig.ParsingConfig.Builder mergeLayoutParsingConfig(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig value)
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
mergeOcrParsingConfig(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig value)
public DocumentProcessingConfig.ParsingConfig.Builder mergeOcrParsingConfig(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig value)
Configurations applied to OCR parser. Currently it only applies to
PDFs.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentProcessingConfig.ParsingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDigitalParsingConfig(DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig value)
public DocumentProcessingConfig.ParsingConfig.Builder setDigitalParsingConfig(DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig value)
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
setDigitalParsingConfig(DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig.Builder builderForValue)
public DocumentProcessingConfig.ParsingConfig.Builder setDigitalParsingConfig(DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig.Builder builderForValue)
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentProcessingConfig.ParsingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLayoutParsingConfig(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig value)
public DocumentProcessingConfig.ParsingConfig.Builder setLayoutParsingConfig(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig value)
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
setLayoutParsingConfig(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder builderForValue)
public DocumentProcessingConfig.ParsingConfig.Builder setLayoutParsingConfig(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder builderForValue)
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
setOcrParsingConfig(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig value)
public DocumentProcessingConfig.ParsingConfig.Builder setOcrParsingConfig(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig value)
Configurations applied to OCR parser. Currently it only applies to
PDFs.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
setOcrParsingConfig(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder builderForValue)
public DocumentProcessingConfig.ParsingConfig.Builder setOcrParsingConfig(DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.Builder builderForValue)
Configurations applied to OCR parser. Currently it only applies to
PDFs.
.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentProcessingConfig.ParsingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentProcessingConfig.ParsingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides