Interface ProcessOptionsOrBuilder (2.34.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.v1beta3.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.v1beta3.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.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

getPageRangeCase()

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

getSchemaOverride()

public abstract DocumentSchema getSchemaOverride()

Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override.

.google.cloud.documentai.v1beta3.DocumentSchema schema_override = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DocumentSchema

The schemaOverride.

getSchemaOverrideOrBuilder()

public abstract DocumentSchemaOrBuilder getSchemaOverrideOrBuilder()

Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override.

.google.cloud.documentai.v1beta3.DocumentSchema schema_override = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DocumentSchemaOrBuilder

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.v1beta3.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.v1beta3.OcrConfig ocr_config = 1;

Returns
TypeDescription
boolean

Whether the ocrConfig field is set.

hasSchemaOverride()

public abstract boolean hasSchemaOverride()

Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override.

.google.cloud.documentai.v1beta3.DocumentSchema schema_override = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the schemaOverride field is set.