Class ChunkServiceGrpc.ChunkServiceStub (0.38.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetChunkRequest
responseObserver io.grpc.stub.StreamObserver<Chunk>

listChunks(ListChunksRequest request, StreamObserver<ListChunksResponse> responseObserver)

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

Gets a list of Chunks.

Parameters
Name Description
request ListChunksRequest
responseObserver io.grpc.stub.StreamObserver<ListChunksResponse>