Interface ProcessOptionsOrBuilder (2.52.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ProcessOptions.IndividualPageSelectorOrBuilder

getLayoutConfig()

public abstract ProcessOptions.LayoutConfig getLayoutConfig()

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

.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig layout_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProcessOptions.LayoutConfig

The layoutConfig.

getLayoutConfigOrBuilder()

public abstract ProcessOptions.LayoutConfigOrBuilder getLayoutConfigOrBuilder()

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

.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig layout_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProcessOptions.LayoutConfigOrBuilder

getOcrConfig()

public abstract OcrConfig getOcrConfig()

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

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

Returns
Type Description
OcrConfig

The ocrConfig.

getOcrConfigOrBuilder()

public abstract OcrConfigOrBuilder getOcrConfigOrBuilder()

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

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

Returns
Type Description
OcrConfigOrBuilder

getPageRangeCase()

public abstract ProcessOptions.PageRangeCase getPageRangeCase()
Returns
Type Description
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
Type Description
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
Type Description
DocumentSchemaOrBuilder

hasFromEnd()

public abstract boolean hasFromEnd()

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

int32 from_end = 7;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the individualPageSelector field is set.

hasLayoutConfig()

public abstract boolean hasLayoutConfig()

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

.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig layout_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the layoutConfig field is set.

hasOcrConfig()

public abstract boolean hasOcrConfig()

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

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

Returns
Type Description
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
Type Description
boolean

Whether the schemaOverride field is set.