Class DocumentProcessorServiceGrpc (2.32.0)

public final class DocumentProcessorServiceGrpc

Service to call Document AI 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

bindService(DocumentProcessorServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DocumentProcessorServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceDocumentProcessorServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

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>

getEvaluateProcessorVersionMethod()

public static MethodDescriptor<EvaluateProcessorVersionRequest,Operation> getEvaluateProcessorVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<EvaluateProcessorVersionRequest,Operation>

getFetchProcessorTypesMethod()

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

getGetEvaluationMethod()

public static MethodDescriptor<GetEvaluationRequest,Evaluation> getGetEvaluationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetEvaluationRequest,Evaluation>

getGetProcessorMethod()

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

getGetProcessorTypeMethod()

public static MethodDescriptor<GetProcessorTypeRequest,ProcessorType> getGetProcessorTypeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetProcessorTypeRequest,ProcessorType>

getGetProcessorVersionMethod()

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

getListEvaluationsMethod()

public static MethodDescriptor<ListEvaluationsRequest,ListEvaluationsResponse> getListEvaluationsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListEvaluationsRequest,ListEvaluationsResponse>

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>

getTrainProcessorVersionMethod()

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