Class BertLmGrpc.BertLmBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<BertLmGrpc.BertLmBlockingStub>
io.grpc.stub.AbstractBlockingStub<BertLmGrpc.BertLmBlockingStub>
org.languagetool.languagemodel.bert.grpc.BertLmGrpc.BertLmBlockingStub
- Enclosing class:
BertLmGrpc
public static final class BertLmGrpc.BertLmBlockingStub
extends io.grpc.stub.AbstractBlockingStub<BertLmGrpc.BertLmBlockingStub>
A stub to allow clients to do synchronous rpc calls to service BertLm.
-
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>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBertLmBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbatchScore(BertLmProto.BatchScoreRequest request) protected BertLmGrpc.BertLmBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) score(BertLmProto.ScoreRequest request) Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Constructor Details
-
BertLmBlockingStub
private BertLmBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected BertLmGrpc.BertLmBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BertLmGrpc.BertLmBlockingStub>
-
score
-
batchScore
-