raise ValueError("Processor name is not defined, aborting!")
        output_path = gcs_output_path if gcs_output_path else self._gcs_output_path
        if output_path is None:
            raise ValueError("An output path on GCS should be provided!")
        operations = []
        for batch in batch_iterate(size=batch_size, iterable=blobs):
            documents = []
            for blob in batch:
                gcs_document = documentai.GcsDocument(
                    gcs_uri=blob.path, mime_type="application/pdf"
                )
                documents.append(gcs_document)
            gcs_documents = documentai.GcsDocuments(documents=documents)
            input_config = documentai.BatchDocumentsInputConfig(
                gcs_documents=gcs_documents
            )
            gcs_output_config = documentai.DocumentOutputConfig.GcsOutputConfig(
                gcs_uri=output_path, field_mask=None
            )
            output_config = documentai.DocumentOutputConfig(
                gcs_output_config=gcs_output_config
            )
            if enable_native_pdf_parsing:
                process_options = ProcessOptions(
                    ocr_config=OcrConfig(
                        enable_native_pdf_parsing=enable_native_pdf_parsing
                    )
                )
            else:
                process_options = ProcessOptions()
            request = documentai.BatchProcessRequest(
                name=self._processor_name,
                input_documents=input_config,
                document_output_config=output_config,
                process_options=process_options,
            )
            operations.append(self._client.batch_process_documents(request))
        return operations
[docs]    def get_results(self, operations: List["Operation"]) -> List[DocAIParsingResults]:
        try:
            from google.cloud.documentai_v1 import BatchProcessMetadata
        except ImportError:
            raise ImportError(