public static final class DocumentProcessingConfig.ParsingConfig extends GeneratedMessageV3 implements DocumentProcessingConfig.ParsingConfigOrBuilder
Related configurations applied to a specific type of document parser.
Protobuf type
google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DIGITAL_PARSING_CONFIG_FIELD_NUMBER
public static final int DIGITAL_PARSING_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAYOUT_PARSING_CONFIG_FIELD_NUMBER
public static final int LAYOUT_PARSING_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OCR_PARSING_CONFIG_FIELD_NUMBER
public static final int OCR_PARSING_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DocumentProcessingConfig.ParsingConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DocumentProcessingConfig.ParsingConfig.Builder newBuilder()
newBuilder(DocumentProcessingConfig.ParsingConfig prototype)
public static DocumentProcessingConfig.ParsingConfig.Builder newBuilder(DocumentProcessingConfig.ParsingConfig prototype)
public static DocumentProcessingConfig.ParsingConfig parseDelimitedFrom(InputStream input)
public static DocumentProcessingConfig.ParsingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DocumentProcessingConfig.ParsingConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocumentProcessingConfig.ParsingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DocumentProcessingConfig.ParsingConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentProcessingConfig.ParsingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentProcessingConfig.ParsingConfig parseFrom(CodedInputStream input)
public static DocumentProcessingConfig.ParsingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentProcessingConfig.ParsingConfig parseFrom(InputStream input)
public static DocumentProcessingConfig.ParsingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DocumentProcessingConfig.ParsingConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DocumentProcessingConfig.ParsingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DocumentProcessingConfig.ParsingConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DocumentProcessingConfig.ParsingConfig getDefaultInstanceForType()
getDigitalParsingConfig()
public DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig getDigitalParsingConfig()
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
getDigitalParsingConfigOrBuilder()
public DocumentProcessingConfig.ParsingConfig.DigitalParsingConfigOrBuilder getDigitalParsingConfigOrBuilder()
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig digital_parsing_config = 1;
getLayoutParsingConfig()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig getLayoutParsingConfig()
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig layout_parsing_config = 3;
getLayoutParsingConfigOrBuilder()
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder getLayoutParsingConfigOrBuilder()
Configurations applied to layout parser.
.google.cloud.discoveryengine.v1beta.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.v1beta.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.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
getParserForType()
public Parser<DocumentProcessingConfig.ParsingConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTypeDedicatedConfigCase()
public DocumentProcessingConfig.ParsingConfig.TypeDedicatedConfigCase getTypeDedicatedConfigCase()
hasDigitalParsingConfig()
public boolean hasDigitalParsingConfig()
Configurations applied to digital parser.
.google.cloud.discoveryengine.v1beta.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.v1beta.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.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig ocr_parsing_config = 2;
Returns |
Type |
Description |
boolean |
Whether the ocrParsingConfig field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DocumentProcessingConfig.ParsingConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DocumentProcessingConfig.ParsingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DocumentProcessingConfig.ParsingConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides