Class PredictionServiceStub (2.9.8)

public abstract class PredictionServiceStub implements BackgroundResource

Base stub class for the PredictionService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > PredictionServiceStub

Implements

BackgroundResource

Constructors

PredictionServiceStub()

public PredictionServiceStub()

Methods

close()

public abstract void close()

explainCallable()

public UnaryCallable<ExplainRequest,ExplainResponse> explainCallable()
Returns
TypeDescription
UnaryCallable<ExplainRequest,ExplainResponse>

predictCallable()

public UnaryCallable<PredictRequest,PredictResponse> predictCallable()
Returns
TypeDescription
UnaryCallable<PredictRequest,PredictResponse>

rawPredictCallable()

public UnaryCallable<RawPredictRequest,HttpBody> rawPredictCallable()
Returns
TypeDescription
UnaryCallable<RawPredictRequest,com.google.api.HttpBody>