Interface ProcessOptionsOrBuilder (2.28.0)

public interface ProcessOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOcrConfig()

public abstract OcrConfig getOcrConfig()

Only applicable to 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 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 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.