Class ChunkServiceGrpc.ChunkServiceFutureStub (0.45.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetChunkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Chunk>

listChunks(ListChunksRequest request)

public ListenableFuture<ListChunksResponse> listChunks(ListChunksRequest request)

Gets a list of Chunks.

Parameter
Name Description
request ListChunksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListChunksResponse>