- 2.59.0 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public interface ProcessOptionsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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.v1.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.v1.ProcessOptions.IndividualPageSelector individual_page_selector = 5;
Returns | |
---|---|
Type | Description |
ProcessOptions.IndividualPageSelectorOrBuilder |
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.v1.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.v1.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.v1.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.v1.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.v1.ProcessOptions.IndividualPageSelector individual_page_selector = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the individualPageSelector 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.v1.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.v1.DocumentSchema schema_override = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the schemaOverride field is set. |