This interface defines virtual methods for each of the user-facing overload sets in DocumentProcessorServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DocumentProcessorServiceClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eDocumentProcessorServiceConnection\u003c/code\u003e object, which interfaces with the \u003ccode\u003eDocumentProcessorServiceClient\u003c/code\u003e and allows for custom behavior injection in tests.\u003c/p\u003e\n"],["\u003cp\u003eThe content provides links to various versions of the \u003ccode\u003eDocumentProcessorServiceConnection\u003c/code\u003e, ranging from version 2.11.0 up to the latest release candidate, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eIt describes how to create an instance of \u003ccode\u003eDocumentProcessorServiceConnection\u003c/code\u003e using \u003ccode\u003eMakeDocumentProcessorServiceConnection()\u003c/code\u003e and how to use \u003ccode\u003eMockDocumentProcessorServiceConnection\u003c/code\u003e for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage lists various virtual functions supported by the \u003ccode\u003eDocumentProcessorServiceConnection\u003c/code\u003e, including functions for processing documents, managing processor types and versions, and handling evaluation and review operations.\u003c/p\u003e\n"],["\u003cp\u003eThe virtual functions provided allow for several different actions to be performed on a document processor, such as \u003ccode\u003eProcessDocument\u003c/code\u003e, \u003ccode\u003eBatchProcessDocuments\u003c/code\u003e, \u003ccode\u003eTrainProcessorVersion\u003c/code\u003e, and many more, all within the context of the Google Cloud Document AI API.\u003c/p\u003e\n"]]],[],null,[]]