Class BertLmGrpc
java.lang.Object
org.languagetool.languagemodel.bert.grpc.BertLmGrpc
@Generated(value="by gRPC proto compiler (version 1.68.0)",
comments="Source: bert-lm.proto")
public final class BertLmGrpc
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprivate static classstatic final classA stub to allow clients to do synchronous rpc calls to service BertLm.private static final classstatic final classA stub to allow clients to do ListenableFuture-style rpc calls to service BertLm.static classBase class for the server implementation of the service BertLm.private static final classstatic final classA stub to allow clients to do asynchronous rpc calls to service BertLm.private static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static io.grpc.MethodDescriptor<BertLmProto.BatchScoreRequest, BertLmProto.BatchBertLmResponse> private static io.grpc.MethodDescriptor<BertLmProto.ScoreRequest, BertLmProto.BertLmResponse> private static final intprivate static final intstatic final Stringprivate static io.grpc.ServiceDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(BertLmGrpc.AsyncService service) static io.grpc.MethodDescriptor<BertLmProto.BatchScoreRequest, BertLmProto.BatchBertLmResponse> static io.grpc.MethodDescriptor<BertLmProto.ScoreRequest, BertLmProto.BertLmResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic BertLmGrpc.BertLmFutureStubnewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic BertLmGrpc.BertLmStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
getScoreMethod
private static volatile io.grpc.MethodDescriptor<BertLmProto.ScoreRequest,BertLmProto.BertLmResponse> getScoreMethod -
getBatchScoreMethod
private static volatile io.grpc.MethodDescriptor<BertLmProto.BatchScoreRequest,BertLmProto.BatchBertLmResponse> getBatchScoreMethod -
METHODID_SCORE
private static final int METHODID_SCORE- See Also:
-
METHODID_BATCH_SCORE
private static final int METHODID_BATCH_SCORE- See Also:
-
serviceDescriptor
private static volatile io.grpc.ServiceDescriptor serviceDescriptor
-
-
Constructor Details
-
BertLmGrpc
private BertLmGrpc()
-
-
Method Details
-
getScoreMethod
public static io.grpc.MethodDescriptor<BertLmProto.ScoreRequest,BertLmProto.BertLmResponse> getScoreMethod() -
getBatchScoreMethod
public static io.grpc.MethodDescriptor<BertLmProto.BatchScoreRequest,BertLmProto.BatchBertLmResponse> getBatchScoreMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-