Class DocumentProcessorServiceGrpc (2.57.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
Type Description
String

Static Methods

bindService(DocumentProcessorServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DocumentProcessorServiceGrpc.AsyncService service)
Parameter
Name Description
service DocumentProcessorServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getBatchProcessDocumentsMethod()

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

getCreateProcessorMethod()

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

getDeleteProcessorMethod()

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

getDeleteProcessorVersionMethod()

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

getDeployProcessorVersionMethod()

public static MethodDescriptor<DeployProcessorVersionRequest,Operation> getDeployProcessorVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeployProcessorVersionRequest,Operation>

getDisableProcessorMethod()

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

getEnableProcessorMethod()

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

getEvaluateProcessorVersionMethod()

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

getFetchProcessorTypesMethod()

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

getGetEvaluationMethod()

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

getGetProcessorMethod()

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

getGetProcessorTypeMethod()

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

getGetProcessorVersionMethod()

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

getImportProcessorVersionMethod()

public static MethodDescriptor<ImportProcessorVersionRequest,Operation> getImportProcessorVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ImportProcessorVersionRequest,Operation>

getListEvaluationsMethod()

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

getListProcessorTypesMethod()

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

getListProcessorVersionsMethod()

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

getListProcessorsMethod()

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

getProcessDocumentMethod()

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

getReviewDocumentMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetDefaultProcessorVersionMethod()

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

getTrainProcessorVersionMethod()

public static MethodDescriptor<TrainProcessorVersionRequest,Operation> getTrainProcessorVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<TrainProcessorVersionRequest,Operation>

getUndeployProcessorVersionMethod()

public static MethodDescriptor<UndeployProcessorVersionRequest,Operation> getUndeployProcessorVersionMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
DocumentProcessorServiceGrpc.DocumentProcessorServiceStub