Interface ProcessDocumentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessDocumentRequest
,ProcessDocumentRequest.Builder
public interface ProcessDocumentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDocumentType()
Specifies a known document type for deeper structure detection.com.google.protobuf.ByteString
getDocumentTypeBytes()
Specifies a known document type for deeper structure detection.EntityExtractionParams
getEntityExtractionParams()
Controls entity extraction behavior.EntityExtractionParamsOrBuilder
getEntityExtractionParamsOrBuilder()
Controls entity extraction behavior.FormExtractionParams
getFormExtractionParams()
Controls form extraction behavior.FormExtractionParamsOrBuilder
getFormExtractionParamsOrBuilder()
Controls form extraction behavior.InputConfig
getInputConfig()
Required.InputConfigOrBuilder
getInputConfigOrBuilder()
Required.OcrParams
getOcrParams()
Controls OCR behavior.OcrParamsOrBuilder
getOcrParamsOrBuilder()
Controls OCR behavior.OutputConfig
getOutputConfig()
Required.OutputConfigOrBuilder
getOutputConfigOrBuilder()
Required.TableExtractionParams
getTableExtractionParams()
Controls table extraction behavior.TableExtractionParamsOrBuilder
getTableExtractionParamsOrBuilder()
Controls table extraction behavior.boolean
hasEntityExtractionParams()
Controls entity extraction behavior.boolean
hasFormExtractionParams()
Controls form extraction behavior.boolean
hasInputConfig()
Required.boolean
hasOcrParams()
Controls OCR behavior.boolean
hasOutputConfig()
Required.boolean
hasTableExtractionParams()
Controls table extraction behavior.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInputConfig
boolean hasInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the inputConfig field is set.
-
getInputConfig
InputConfig getInputConfig()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The inputConfig.
-
getInputConfigOrBuilder
InputConfigOrBuilder getInputConfigOrBuilder()
Required. Information about the input file.
.google.cloud.documentai.v1beta1.InputConfig input_config = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasOutputConfig
boolean hasOutputConfig()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the outputConfig field is set.
-
getOutputConfig
OutputConfig getOutputConfig()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The outputConfig.
-
getOutputConfigOrBuilder
OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The desired output location.
.google.cloud.documentai.v1beta1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
-
getDocumentType
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:
- The documentType.
-
getDocumentTypeBytes
com.google.protobuf.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:
- The bytes for documentType.
-
hasTableExtractionParams
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:
- Whether the tableExtractionParams field is set.
-
getTableExtractionParams
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:
- The tableExtractionParams.
-
getTableExtractionParamsOrBuilder
TableExtractionParamsOrBuilder getTableExtractionParamsOrBuilder()
Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.TableExtractionParams table_extraction_params = 4;
-
hasFormExtractionParams
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:
- Whether the formExtractionParams field is set.
-
getFormExtractionParams
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:
- The formExtractionParams.
-
getFormExtractionParamsOrBuilder
FormExtractionParamsOrBuilder getFormExtractionParamsOrBuilder()
Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.FormExtractionParams form_extraction_params = 5;
-
hasEntityExtractionParams
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:
- Whether the entityExtractionParams field is set.
-
getEntityExtractionParams
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:
- The entityExtractionParams.
-
getEntityExtractionParamsOrBuilder
EntityExtractionParamsOrBuilder getEntityExtractionParamsOrBuilder()
Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.EntityExtractionParams entity_extraction_params = 6;
-
hasOcrParams
boolean hasOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
- Returns:
- Whether the ocrParams field is set.
-
getOcrParams
OcrParams getOcrParams()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
- Returns:
- The ocrParams.
-
getOcrParamsOrBuilder
OcrParamsOrBuilder getOcrParamsOrBuilder()
Controls OCR behavior. If not specified, the system will decide reasonable defaults.
.google.cloud.documentai.v1beta1.OcrParams ocr_params = 7;
-
-