Interface ProcessOptionsOrBuilder (2.21.0)

public interface ProcessOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOcrConfig()

public abstract OcrConfig getOcrConfig()

Only applicable to "Document OCR Processor". Returns error if set on other processor types.

.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;

Returns
TypeDescription
OcrConfig

The ocrConfig.

getOcrConfigOrBuilder()

public abstract OcrConfigOrBuilder getOcrConfigOrBuilder()

Only applicable to "Document OCR Processor". Returns error if set on other processor types.

.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;

Returns
TypeDescription
OcrConfigOrBuilder

hasOcrConfig()

public abstract boolean hasOcrConfig()

Only applicable to "Document OCR Processor". Returns error if set on other processor types.

.google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;

Returns
TypeDescription
boolean

Whether the ocrConfig field is set.