Class ChunkServiceGrpc.ChunkServiceStub (0.35.0)

public static final class ChunkServiceGrpc.ChunkServiceStub extends AbstractAsyncStub<ChunkServiceGrpc.ChunkServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > ChunkServiceGrpc.ChunkServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getChunk(GetChunkRequest request, StreamObserver<Chunk> responseObserver)

public void getChunk(GetChunkRequest request, StreamObserver<Chunk> responseObserver)

Gets a Document.

Parameters
NameDescription
requestGetChunkRequest
responseObserverio.grpc.stub.StreamObserver<Chunk>

listChunks(ListChunksRequest request, StreamObserver<ListChunksResponse> responseObserver)

public void listChunks(ListChunksRequest request, StreamObserver<ListChunksResponse> responseObserver)

Gets a list of Chunks.

Parameters
NameDescription
requestListChunksRequest
responseObserverio.grpc.stub.StreamObserver<ListChunksResponse>