Interface ProcessDocumentRequestOrBuilder (2.50.0)

public interface ProcessDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocumentType()

public abstract String getDocumentType()

Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.

string document_type = 3;

Returns
Type Description
String

The documentType.

getDocumentTypeBytes()

public abstract ByteString getDocumentTypeBytes()

Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.

string document_type = 3;

Returns
Type Description
ByteString

The bytes for documentType.

getEntityExtractionParams()

public abstract EntityExtractionParams getEntityExtractionParams()

Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;

Returns
Type Description
EntityExtractionParams

The entityExtractionParams.

getEntityExtractionParamsOrBuilder()

public abstract EntityExtractionParamsOrBuilder getEntityExtractionParamsOrBuilder()

Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;

Returns
Type Description
EntityExtractionParamsOrBuilder

getFormExtractionParams()

public abstract FormExtractionParams getFormExtractionParams()

Controls form extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;

Returns
Type Description
FormExtractionParams

The formExtractionParams.

getFormExtractionParamsOrBuilder()

public abstract FormExtractionParamsOrBuilder getFormExtractionParamsOrBuilder()

Controls form extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;

Returns
Type Description
FormExtractionParamsOrBuilder

getInputConfig()

public abstract InputConfig getInputConfig()

Required. Information about the input file.

.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputConfig

The inputConfig.

getInputConfigOrBuilder()

public abstract InputConfigOrBuilder getInputConfigOrBuilder()

Required. Information about the input file.

.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputConfigOrBuilder

getOcrParams()

public abstract OcrParams getOcrParams()

Controls OCR behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;

Returns
Type Description
OcrParams

The ocrParams.

getOcrParamsOrBuilder()

public abstract OcrParamsOrBuilder getOcrParamsOrBuilder()

Controls OCR behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;

Returns
Type Description
OcrParamsOrBuilder

getOutputConfig()

public abstract OutputConfig getOutputConfig()

Required. The desired output location.

.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfig

The outputConfig.

getOutputConfigOrBuilder()

public abstract OutputConfigOrBuilder getOutputConfigOrBuilder()

Required. The desired output location.

.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfigOrBuilder

getTableExtractionParams()

public abstract TableExtractionParams getTableExtractionParams()

Controls table extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;

Returns
Type Description
TableExtractionParams

The tableExtractionParams.

getTableExtractionParamsOrBuilder()

public abstract TableExtractionParamsOrBuilder getTableExtractionParamsOrBuilder()

Controls table extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;

Returns
Type Description
TableExtractionParamsOrBuilder

hasEntityExtractionParams()

public abstract boolean hasEntityExtractionParams()

Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;

Returns
Type Description
boolean

Whether the entityExtractionParams field is set.

hasFormExtractionParams()

public abstract boolean hasFormExtractionParams()

Controls form extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;

Returns
Type Description
boolean

Whether the formExtractionParams field is set.

hasInputConfig()

public abstract boolean hasInputConfig()

Required. Information about the input file.

.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the inputConfig field is set.

hasOcrParams()

public abstract boolean hasOcrParams()

Controls OCR behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;

Returns
Type Description
boolean

Whether the ocrParams field is set.

hasOutputConfig()

public abstract boolean hasOutputConfig()

Required. The desired output location.

.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the outputConfig field is set.

hasTableExtractionParams()

public abstract boolean hasTableExtractionParams()

Controls table extraction behavior. If not specified, the system will decide reasonable defaults.

.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;

Returns
Type Description
boolean

Whether the tableExtractionParams field is set.