Class DocumentProcessorServiceGrpc (2.4.3)

public final class DocumentProcessorServiceGrpc

Service to call Cloud DocumentAI to process documents according to the processor's definition. Processors are built using state-of-the-art Google AI such as natural language, computer vision, and translation to extract structured information from unstructured or semi-structured documents.

Inheritance

java.lang.Object > DocumentProcessorServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getBatchProcessDocumentsMethod()

public static MethodDescriptor<BatchProcessRequest,Operation> getBatchProcessDocumentsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchProcessRequest,Operation>

getProcessDocumentMethod()

public static MethodDescriptor<ProcessRequest,ProcessResponse> getProcessDocumentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ProcessRequest,ProcessResponse>

getReviewDocumentMethod()

public static MethodDescriptor<ReviewDocumentRequest,Operation> getReviewDocumentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ReviewDocumentRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static DocumentProcessorServiceGrpc.DocumentProcessorServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DocumentProcessorServiceGrpc.DocumentProcessorServiceBlockingStub

newFutureStub(Channel channel)

public static DocumentProcessorServiceGrpc.DocumentProcessorServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DocumentProcessorServiceGrpc.DocumentProcessorServiceFutureStub

newStub(Channel channel)

public static DocumentProcessorServiceGrpc.DocumentProcessorServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DocumentProcessorServiceGrpc.DocumentProcessorServiceStub