Class ChunkServiceGrpc.ChunkServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ChunkServiceGrpc.ChunkServiceStub>
com.google.cloud.discoveryengine.v1alpha.ChunkServiceGrpc.ChunkServiceStub
- Enclosing class:
- ChunkServiceGrpc
public static final class ChunkServiceGrpc.ChunkServiceStub
extends io.grpc.stub.AbstractAsyncStub<ChunkServiceGrpc.ChunkServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ChunkService.
Service for displaying processed [Chunk][google.cloud.discoveryengine.v1alpha.Chunk] information of the customer's unstructured data.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected ChunkServiceGrpc.ChunkServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgetChunk(GetChunkRequest request, io.grpc.stub.StreamObserver<Chunk> responseObserver) Gets a [Document][google.cloud.discoveryengine.v1alpha.Document].voidlistChunks(ListChunksRequest request, io.grpc.stub.StreamObserver<ListChunksResponse> responseObserver) Gets a list of [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ChunkServiceGrpc.ChunkServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ChunkServiceGrpc.ChunkServiceStub>
-
getChunk
Gets a [Document][google.cloud.discoveryengine.v1alpha.Document].
-
listChunks
public void listChunks(ListChunksRequest request, io.grpc.stub.StreamObserver<ListChunksResponse> responseObserver) Gets a list of [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s.
-