Class DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceFutureStub (2.23.0)

public static final class DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceFutureStub extends AbstractFutureStub<DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceFutureStub

Methods

batchProcessDocuments(BatchProcessDocumentsRequest request)

public ListenableFuture<Operation> batchProcessDocuments(BatchProcessDocumentsRequest request)

LRO endpoint to batch process many documents.

Parameter
NameDescription
requestBatchProcessDocumentsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)