Class DocumentProcessorServiceGrpc (2.1.9)

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

Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Methods

getBatchProcessDocumentsMethod()

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

getCreateProcessorMethod()

public static MethodDescriptor<CreateProcessorRequest,Processor> getCreateProcessorMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateProcessorRequest,Processor>

getDeleteProcessorMethod()

public static MethodDescriptor<DeleteProcessorRequest,Operation> getDeleteProcessorMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteProcessorRequest,Operation>

getDisableProcessorMethod()

public static MethodDescriptor<DisableProcessorRequest,Operation> getDisableProcessorMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DisableProcessorRequest,Operation>

getEnableProcessorMethod()

public static MethodDescriptor<EnableProcessorRequest,Operation> getEnableProcessorMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<EnableProcessorRequest,Operation>

getFetchProcessorTypesMethod()

public static MethodDescriptor<FetchProcessorTypesRequest,FetchProcessorTypesResponse> getFetchProcessorTypesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<FetchProcessorTypesRequest,FetchProcessorTypesResponse>

getListProcessorsMethod()

public static MethodDescriptor<ListProcessorsRequest,ListProcessorsResponse> getListProcessorsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListProcessorsRequest,ListProcessorsResponse>

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