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.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value
Static Methods
getBatchProcessDocumentsMethod()
public static MethodDescriptor<BatchProcessRequest,Operation> getBatchProcessDocumentsMethod()
Returns
getCreateProcessorMethod()
public static MethodDescriptor<CreateProcessorRequest,Processor> getCreateProcessorMethod()
Returns
getDeleteProcessorMethod()
public static MethodDescriptor<DeleteProcessorRequest,Operation> getDeleteProcessorMethod()
Returns
getDisableProcessorMethod()
public static MethodDescriptor<DisableProcessorRequest,Operation> getDisableProcessorMethod()
Returns
getEnableProcessorMethod()
public static MethodDescriptor<EnableProcessorRequest,Operation> getEnableProcessorMethod()
Returns
getFetchProcessorTypesMethod()
public static MethodDescriptor<FetchProcessorTypesRequest,FetchProcessorTypesResponse> getFetchProcessorTypesMethod()
Returns
getListProcessorsMethod()
public static MethodDescriptor<ListProcessorsRequest,ListProcessorsResponse> getListProcessorsMethod()
Returns
getProcessDocumentMethod()
public static MethodDescriptor<ProcessRequest,ProcessResponse> getProcessDocumentMethod()
Returns
getReviewDocumentMethod()
public static MethodDescriptor<ReviewDocumentRequest,Operation> getReviewDocumentMethod()
Returns
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns
Type | Description |
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
Name | Description |
channel | io.grpc.Channel
|
Returns
newFutureStub(Channel channel)
public static DocumentProcessorServiceGrpc.DocumentProcessorServiceFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns
newStub(Channel channel)
public static DocumentProcessorServiceGrpc.DocumentProcessorServiceStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter
Name | Description |
channel | io.grpc.Channel
|
Returns