Package com.google.cloud.automl.v1.stub
Class PredictionServiceStub
- java.lang.Object
-
- com.google.cloud.automl.v1.stub.PredictionServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcPredictionServiceStub,HttpJsonPredictionServiceStub
@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 voidclose()com.google.api.gax.httpjson.longrunning.stub.OperationsStubgetHttpJsonOperationsStub()com.google.longrunning.stub.OperationsStubgetOperationsStub()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:
closein interfaceAutoCloseable
-
-