Class PredictionServiceStub
- java.lang.Object
-
- com.google.cloud.automl.v1beta1.stub.PredictionServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
- Direct Known Subclasses:
GrpcPredictionServiceStub
,HttpJsonPredictionServiceStub
@BetaApi @Generated("by gapic-generator-java") public abstract class PredictionServiceStub extends Object implements com.google.api.gax.core.BackgroundResource
Base stub class for the PredictionService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Constructor Description PredictionServiceStub()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallable<BatchPredictRequest,com.google.longrunning.Operation>
batchPredictCallable()
com.google.api.gax.rpc.OperationCallable<BatchPredictRequest,BatchPredictResult,OperationMetadata>
batchPredictOperationCallable()
abstract void
close()
com.google.api.gax.httpjson.longrunning.stub.OperationsStub
getHttpJsonOperationsStub()
com.google.longrunning.stub.OperationsStub
getOperationsStub()
com.google.api.gax.rpc.UnaryCallable<PredictRequest,PredictResponse>
predictCallable()
-
-
-
Method Detail
-
getOperationsStub
public com.google.longrunning.stub.OperationsStub getOperationsStub()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub()
-
predictCallable
public com.google.api.gax.rpc.UnaryCallable<PredictRequest,PredictResponse> predictCallable()
-
batchPredictOperationCallable
public com.google.api.gax.rpc.OperationCallable<BatchPredictRequest,BatchPredictResult,OperationMetadata> batchPredictOperationCallable()
-
batchPredictCallable
public com.google.api.gax.rpc.UnaryCallable<BatchPredictRequest,com.google.longrunning.Operation> batchPredictCallable()
-
close
public abstract void close()
- Specified by:
close
in interfaceAutoCloseable
-
-