Class DocumentProcessorServiceGrpc (2.7.2)

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>

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>

getDeleteProcessorVersionMethod()

public static MethodDescriptor<DeleteProcessorVersionRequest,Operation> getDeleteProcessorVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteProcessorVersionRequest,Operation>

getDeployProcessorVersionMethod()

public static MethodDescriptor<DeployProcessorVersionRequest,Operation> getDeployProcessorVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeployProcessorVersionRequest,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>

getGetProcessorMethod()

public static MethodDescriptor<GetProcessorRequest,Processor> getGetProcessorMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetProcessorRequest,Processor>

getGetProcessorVersionMethod()

public static MethodDescriptor<GetProcessorVersionRequest,ProcessorVersion> getGetProcessorVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetProcessorVersionRequest,ProcessorVersion>

getListProcessorTypesMethod()

public static MethodDescriptor<ListProcessorTypesRequest,ListProcessorTypesResponse> getListProcessorTypesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListProcessorTypesRequest,ListProcessorTypesResponse>

getListProcessorVersionsMethod()

public static MethodDescriptor<ListProcessorVersionsRequest,ListProcessorVersionsResponse> getListProcessorVersionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListProcessorVersionsRequest,ListProcessorVersionsResponse>

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

getSetDefaultProcessorVersionMethod()

public static MethodDescriptor<SetDefaultProcessorVersionRequest,Operation> getSetDefaultProcessorVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SetDefaultProcessorVersionRequest,Operation>

getUndeployProcessorVersionMethod()

public static MethodDescriptor<UndeployProcessorVersionRequest,Operation> getUndeployProcessorVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UndeployProcessorVersionRequest,Operation>

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