Class DocumentServiceGrpc (2.25.0)

public final class DocumentServiceGrpc

Service to call Cloud DocumentAI to manage document collection (dataset).

Inheritance

java.lang.Object > DocumentServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(DocumentServiceGrpc.AsyncService service)

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

getGetDatasetSchemaMethod()

public static MethodDescriptor<GetDatasetSchemaRequest,DatasetSchema> getGetDatasetSchemaMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetDatasetSchemaRequest,DatasetSchema>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateDatasetMethod()

public static MethodDescriptor<UpdateDatasetRequest,Operation> getUpdateDatasetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateDatasetRequest,Operation>

getUpdateDatasetSchemaMethod()

public static MethodDescriptor<UpdateDatasetSchemaRequest,DatasetSchema> getUpdateDatasetSchemaMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateDatasetSchemaRequest,DatasetSchema>

newBlockingStub(Channel channel)

public static DocumentServiceGrpc.DocumentServiceBlockingStub 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
DocumentServiceGrpc.DocumentServiceBlockingStub

newFutureStub(Channel channel)

public static DocumentServiceGrpc.DocumentServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DocumentServiceGrpc.DocumentServiceFutureStub

newStub(Channel channel)

public static DocumentServiceGrpc.DocumentServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DocumentServiceGrpc.DocumentServiceStub