Class DocumentServiceGrpc.DocumentServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<DocumentServiceGrpc.DocumentServiceStub>
io.grpc.stub.AbstractAsyncStub<DocumentServiceGrpc.DocumentServiceStub>
org.opensearch.protobufs.services.DocumentServiceGrpc.DocumentServiceStub
- Enclosing class:
DocumentServiceGrpc
public static final class DocumentServiceGrpc.DocumentServiceStub
extends io.grpc.stub.AbstractAsyncStub<DocumentServiceGrpc.DocumentServiceStub>
A stub to allow clients to do asynchronous rpc calls to service DocumentService.
-
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 DocumentServiceGrpc.DocumentServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidbulk(BulkRequest request, io.grpc.stub.StreamObserver<BulkResponse> responseObserver) voiddeleteDocument(DeleteDocumentRequest request, io.grpc.stub.StreamObserver<DeleteDocumentResponse> responseObserver) voidgetDocument(GetDocumentRequest request, io.grpc.stub.StreamObserver<GetDocumentResponse> responseObserver) voidindexDocument(IndexDocumentRequest request, io.grpc.stub.StreamObserver<IndexDocumentResponse> responseObserver) io.grpc.stub.StreamObserver<BulkRequest> streamBulk(io.grpc.stub.StreamObserver<BulkResponse> responseObserver) voidupdateDocument(UpdateDocumentRequest request, io.grpc.stub.StreamObserver<UpdateDocumentResponse> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DocumentServiceGrpc.DocumentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DocumentServiceGrpc.DocumentServiceStub>
-
bulk
-
streamBulk
public io.grpc.stub.StreamObserver<BulkRequest> streamBulk(io.grpc.stub.StreamObserver<BulkResponse> responseObserver) -
indexDocument
public void indexDocument(IndexDocumentRequest request, io.grpc.stub.StreamObserver<IndexDocumentResponse> responseObserver) -
updateDocument
public void updateDocument(UpdateDocumentRequest request, io.grpc.stub.StreamObserver<UpdateDocumentResponse> responseObserver) -
getDocument
public void getDocument(GetDocumentRequest request, io.grpc.stub.StreamObserver<GetDocumentResponse> responseObserver) -
deleteDocument
public void deleteDocument(DeleteDocumentRequest request, io.grpc.stub.StreamObserver<DeleteDocumentResponse> responseObserver)
-