Class PredictionServiceStub (2.95.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
Type Description
UnaryCallable<BatchPredictRequest,Operation>

batchPredictOperationCallable()

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

close()

public abstract void close()

getHttpJsonOperationsStub()

public @Nullable OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.api.gax.httpjson.longrunning.stub.OperationsStub

getOperationsStub()

public @Nullable OperationsStub getOperationsStub()
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.longrunning.stub.OperationsStub

predictCallable()

public UnaryCallable<PredictRequest,PredictResponse> predictCallable()
Returns
Type Description
UnaryCallable<PredictRequest,PredictResponse>