Class DocumentServiceGrpc.DocumentServiceBlockingStub (2.25.0)

public static final class DocumentServiceGrpc.DocumentServiceBlockingStub extends AbstractBlockingStub<DocumentServiceGrpc.DocumentServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service DocumentService.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DocumentServiceGrpc.DocumentServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected DocumentServiceGrpc.DocumentServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DocumentServiceGrpc.DocumentServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getDatasetSchema(GetDatasetSchemaRequest request)

public DatasetSchema getDatasetSchema(GetDatasetSchemaRequest request)

Gets the DatasetSchema of a Dataset.

Parameter
NameDescription
requestGetDatasetSchemaRequest
Returns
TypeDescription
DatasetSchema

updateDataset(UpdateDatasetRequest request)

public Operation updateDataset(UpdateDatasetRequest request)

Updates metadata associated with a dataset.

Parameter
NameDescription
requestUpdateDatasetRequest
Returns
TypeDescription
Operation

updateDatasetSchema(UpdateDatasetSchemaRequest request)

public DatasetSchema updateDatasetSchema(UpdateDatasetSchemaRequest request)

Updates a DatasetSchema.

Parameter
NameDescription
requestUpdateDatasetSchemaRequest
Returns
TypeDescription
DatasetSchema