Package com.google.cloud.documentai.v1
Interface BatchProcessRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchProcessRequest,BatchProcessRequest.Builder
public interface BatchProcessRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentOutputConfiggetDocumentOutputConfig()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.DocumentOutputConfigOrBuildergetDocumentOutputConfigOrBuilder()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.BatchDocumentsInputConfiggetInputDocuments()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.BatchDocumentsInputConfigOrBuildergetInputDocumentsOrBuilder()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.ProcessOptionsgetProcessOptions()Inference-time options for the process APIProcessOptionsOrBuildergetProcessOptionsOrBuilder()Inference-time options for the process APIbooleangetSkipHumanReview()Whether human review should be skipped for this request.booleanhasDocumentOutputConfig()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.booleanhasInputDocuments()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.booleanhasProcessOptions()Inference-time options for the process API-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasInputDocuments
boolean hasInputDocuments()
The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;- Returns:
- Whether the inputDocuments field is set.
-
getInputDocuments
BatchDocumentsInputConfig getInputDocuments()
The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;- Returns:
- The inputDocuments.
-
getInputDocumentsOrBuilder
BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder()
The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
-
hasDocumentOutputConfig
boolean hasDocumentOutputConfig()
The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;- Returns:
- Whether the documentOutputConfig field is set.
-
getDocumentOutputConfig
DocumentOutputConfig getDocumentOutputConfig()
The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;- Returns:
- The documentOutputConfig.
-
getDocumentOutputConfigOrBuilder
DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder()
The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;
-
getSkipHumanReview
boolean getSkipHumanReview()
Whether human review should be skipped for this request. Default to `false`.
bool skip_human_review = 4;- Returns:
- The skipHumanReview.
-
hasProcessOptions
boolean hasProcessOptions()
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7;- Returns:
- Whether the processOptions field is set.
-
getProcessOptions
ProcessOptions getProcessOptions()
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7;- Returns:
- The processOptions.
-
getProcessOptionsOrBuilder
ProcessOptionsOrBuilder getProcessOptionsOrBuilder()
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7;
-
-