public abstract class PredictionServiceStub implements BackgroundResource
Classe stub di base per l'API del servizio PredictionService.
Questa classe è per un utilizzo avanzato e riflette direttamente l'API sottostante.
Costruttori
PredictionServiceStub()
public PredictionServiceStub()
Metodi
chiudi()
public abstract void close()
countTokensCallable()
public UnaryCallable<CountTokensRequest,CountTokensResponse> countTokensCallable()
directPredictCallable()
public UnaryCallable<DirectPredictRequest,DirectPredictResponse> directPredictCallable()
directRawPredictCallable()
public UnaryCallable<DirectRawPredictRequest,DirectRawPredictResponse> directRawPredictCallable()
explainCallable()
public UnaryCallable<ExplainRequest,ExplainResponse> explainCallable()
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Restituisce |
Tipo |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Restituisce |
Tipo |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Restituisce |
Tipo |
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()
Restituisce |
Tipo |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
streamGenerateContentCallable()
public ServerStreamingCallable<GenerateContentRequest,GenerateContentResponse> streamGenerateContentCallable()
streamingPredictCallable()
public BidiStreamingCallable<StreamingPredictRequest,StreamingPredictResponse> streamingPredictCallable()
streamingRawPredictCallable()
public BidiStreamingCallable<StreamingRawPredictRequest,StreamingRawPredictResponse> streamingRawPredictCallable()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Restituisce |
Tipo |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|