Class PredictionServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.PredictionServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcPredictionServiceStub
@BetaApi
@Generated("by gapic-generator-java")
public abstract class PredictionServiceStub
extends Object
implements BackgroundResource
Base stub class for the PredictionService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Constructor Details
-
PredictionServiceStub
public PredictionServiceStub()
-
-
Method Details
-
predictCallable
-
rawPredictCallable
-
streamRawPredictCallable
-
directPredictCallable
-
directRawPredictCallable
-
streamDirectPredictCallable
public BidiStreamingCallable<StreamDirectPredictRequest,StreamDirectPredictResponse> streamDirectPredictCallable() -
streamDirectRawPredictCallable
public BidiStreamingCallable<StreamDirectRawPredictRequest,StreamDirectRawPredictResponse> streamDirectRawPredictCallable() -
streamingPredictCallable
public BidiStreamingCallable<StreamingPredictRequest,StreamingPredictResponse> streamingPredictCallable() -
serverStreamingPredictCallable
public ServerStreamingCallable<StreamingPredictRequest,StreamingPredictResponse> serverStreamingPredictCallable() -
streamingRawPredictCallable
public BidiStreamingCallable<StreamingRawPredictRequest,StreamingRawPredictResponse> streamingRawPredictCallable() -
explainCallable
-
countTokensCallable
-
generateContentCallable
-
streamGenerateContentCallable
public ServerStreamingCallable<GenerateContentRequest,GenerateContentResponse> streamGenerateContentCallable() -
chatCompletionsCallable
-
embedContentCallable
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,PredictionServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable() -
listLocationsCallable
-
getLocationCallable
-
setIamPolicyCallable
-
getIamPolicyCallable
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable() -
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-