Class ChunkServiceGrpc.ChunkServiceFutureStub (0.35.0)

public static final class ChunkServiceGrpc.ChunkServiceFutureStub extends AbstractFutureStub<ChunkServiceGrpc.ChunkServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ChunkService.

Service for displaying processed Chunk information of the customer's unstructured data.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ChunkServiceGrpc.ChunkServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getChunk(GetChunkRequest request)

public ListenableFuture<Chunk> getChunk(GetChunkRequest request)

Gets a Document.

Parameter
NameDescription
requestGetChunkRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Chunk>

listChunks(ListChunksRequest request)

public ListenableFuture<ListChunksResponse> listChunks(ListChunksRequest request)

Gets a list of Chunks.

Parameter
NameDescription
requestListChunksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListChunksResponse>