Class DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub (2.50.0)

public static final class DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub extends 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub

Methods

batchProcessDocuments(BatchProcessDocumentsRequest request)

public Operation batchProcessDocuments(BatchProcessDocumentsRequest request)

LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.

Parameter
Name Description
request BatchProcessDocumentsRequest
Returns
Type Description
Operation

build(Channel channel, CallOptions callOptions)

protected DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

processDocument(ProcessDocumentRequest request)

public Document processDocument(ProcessDocumentRequest request)

Processes a single document.

Parameter
Name Description
request ProcessDocumentRequest
Returns
Type Description
Document