Interface ProcessOptionsOrBuilder (2.38.0)

public interface ProcessOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFromEnd()

public abstract int getFromEnd()

Only process certain pages from the end, same as above.

int32 from_end = 7;

Returns
TypeDescription
int

The fromEnd.

getFromStart()

public abstract int getFromStart()

Only process certain pages from the start. Process all if the document has fewer pages.

int32 from_start = 6;

Returns
TypeDescription
int

The fromStart.

getIndividualPageSelector()

public abstract ProcessOptions.IndividualPageSelector getIndividualPageSelector()

Which pages to process (1-indexed).

.google.cloud.documentai.v1.ProcessOptions.IndividualPageSelector individual_page_selector = 5;

Returns
TypeDescription
ProcessOptions.IndividualPageSelector

The individualPageSelector.

getIndividualPageSelectorOrBuilder()

public abstract ProcessOptions.IndividualPageSelectorOrBuilder getIndividualPageSelectorOrBuilder()

Which pages to process (1-indexed).

.google.cloud.documentai.v1.ProcessOptions.IndividualPageSelector individual_page_selector = 5;

Returns
TypeDescription
ProcessOptions.IndividualPageSelectorOrBuilder

getOcrConfig()

public abstract OcrConfig getOcrConfig()

Only applicable to OCR_PROCESSOR. Returns error if set on other processor types.

.google.cloud.documentai.v1.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.v1.OcrConfig ocr_config = 1;

Returns
TypeDescription
OcrConfigOrBuilder

getPageRangeCase()

public abstract ProcessOptions.PageRangeCase getPageRangeCase()
Returns
TypeDescription
ProcessOptions.PageRangeCase

hasFromEnd()

public abstract boolean hasFromEnd()

Only process certain pages from the end, same as above.

int32 from_end = 7;

Returns
TypeDescription
boolean

Whether the fromEnd field is set.

hasFromStart()

public abstract boolean hasFromStart()

Only process certain pages from the start. Process all if the document has fewer pages.

int32 from_start = 6;

Returns
TypeDescription
boolean

Whether the fromStart field is set.

hasIndividualPageSelector()

public abstract boolean hasIndividualPageSelector()

Which pages to process (1-indexed).

.google.cloud.documentai.v1.ProcessOptions.IndividualPageSelector individual_page_selector = 5;

Returns
TypeDescription
boolean

Whether the individualPageSelector field is set.

hasOcrConfig()

public abstract boolean hasOcrConfig()

Only applicable to OCR_PROCESSOR. Returns error if set on other processor types.

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

Returns
TypeDescription
boolean

Whether the ocrConfig field is set.