Class PredictionServiceStub (2.8.0)

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

batchPredictCallable()

public UnaryCallable<BatchPredictRequest,Operation> batchPredictCallable()
Returns
TypeDescription
UnaryCallable<BatchPredictRequest,Operation>

batchPredictOperationCallable()

public OperationCallable<BatchPredictRequest,BatchPredictResult,OperationMetadata> batchPredictOperationCallable()
Returns
TypeDescription
OperationCallable<BatchPredictRequest,BatchPredictResult,OperationMetadata>

close()

public abstract void close()

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
OperationsStub

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

predictCallable()

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