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.
Constructors
PredictionServiceStub()
public PredictionServiceStub()
Methods
close()
public abstract void close()
directPredictCallable()
public UnaryCallable<DirectPredictRequest,DirectPredictResponse> directPredictCallable()
directRawPredictCallable()
public UnaryCallable<DirectRawPredictRequest,DirectRawPredictResponse> directRawPredictCallable()
explainCallable()
public UnaryCallable<ExplainRequest,ExplainResponse> explainCallable()
generateContentCallable()
public UnaryCallable<GenerateContentRequest,GenerateContentResponse> generateContentCallable()
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,PredictionServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
predictCallable()
public UnaryCallable<PredictRequest,PredictResponse> predictCallable()
rawPredictCallable()
public UnaryCallable<RawPredictRequest,HttpBody> rawPredictCallable()
serverStreamingPredictCallable()
public ServerStreamingCallable<StreamingPredictRequest,StreamingPredictResponse> serverStreamingPredictCallable()
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
streamDirectPredictCallable()
public BidiStreamingCallable<StreamDirectPredictRequest,StreamDirectPredictResponse> streamDirectPredictCallable()
streamDirectRawPredictCallable()
public BidiStreamingCallable<StreamDirectRawPredictRequest,StreamDirectRawPredictResponse> streamDirectRawPredictCallable()
streamGenerateContentCallable()
public ServerStreamingCallable<GenerateContentRequest,GenerateContentResponse> streamGenerateContentCallable()
streamRawPredictCallable()
public ServerStreamingCallable<StreamRawPredictRequest,HttpBody> streamRawPredictCallable()
streamingPredictCallable()
public BidiStreamingCallable<StreamingPredictRequest,StreamingPredictResponse> streamingPredictCallable()
streamingRawPredictCallable()
public BidiStreamingCallable<StreamingRawPredictRequest,StreamingRawPredictResponse> streamingRawPredictCallable()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|