Class DocumentUnderstandingServiceGrpc (2.53.0)

public final class DocumentUnderstandingServiceGrpc

Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, and translation.

Inheritance

java.lang.Object > DocumentUnderstandingServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DocumentUnderstandingServiceGrpc.AsyncService service)

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

getBatchProcessDocumentsMethod()

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

getProcessDocumentMethod()

public static MethodDescriptor<ProcessDocumentRequest,Document> getProcessDocumentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ProcessDocumentRequest,Document>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub 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
DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceBlockingStub

newFutureStub(Channel channel)

public static DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceFutureStub 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
DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceFutureStub

newStub(Channel channel)

public static DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceStub 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
DocumentUnderstandingServiceGrpc.DocumentUnderstandingServiceStub