Class DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub>
-
- com.google.cloud.documentai.v1beta2.DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub
-
- Enclosing class:
- DocumentUnderstandingServiceGrpc
public static final class DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service DocumentUnderstandingService.Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, and translation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.longrunning.Operation
batchProcessDocuments(BatchProcessDocumentsRequest request)
LRO endpoint to batch process many documents.protected DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
Document
processDocument(ProcessDocumentRequest request)
Processes a single document.
-
-
-
Method Detail
-
build
protected DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub>
-
batchProcessDocuments
public com.google.longrunning.Operation batchProcessDocuments(BatchProcessDocumentsRequest request)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
-
processDocument
public Document processDocument(ProcessDocumentRequest request)
Processes a single document.
-
-