Class PredictionServiceGrpc (3.34.0)

public final class PredictionServiceGrpc

A service for online predictions and explanations.

Inheritance

java.lang.Object > PredictionServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(PredictionServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(PredictionServiceGrpc.AsyncService service)
Parameter
Name Description
service PredictionServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCountTokensMethod()

public static MethodDescriptor<CountTokensRequest,CountTokensResponse> getCountTokensMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CountTokensRequest,CountTokensResponse>

getDirectPredictMethod()

public static MethodDescriptor<DirectPredictRequest,DirectPredictResponse> getDirectPredictMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DirectPredictRequest,DirectPredictResponse>

getDirectRawPredictMethod()

public static MethodDescriptor<DirectRawPredictRequest,DirectRawPredictResponse> getDirectRawPredictMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DirectRawPredictRequest,DirectRawPredictResponse>

getExplainMethod()

public static MethodDescriptor<ExplainRequest,ExplainResponse> getExplainMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ExplainRequest,ExplainResponse>

getPredictMethod()

public static MethodDescriptor<PredictRequest,PredictResponse> getPredictMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PredictRequest,PredictResponse>

getRawPredictMethod()