Interface ProcessDocumentRequestOrBuilder (2.27.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the tableExtractionParams field is set.