Classe PredictionServiceStub (1.2.0)

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.

Ereditarietà

java.lang.Object > PredictionServiceStub

Implementa

BackgroundResource

Costruttori

PredictionServiceStub()

public PredictionServiceStub()

Metodi

chiudi()

public abstract void close()

directPredictCallable()

public UnaryCallable<DirectPredictRequest,DirectPredictResponse> directPredictCallable()
Restituisce
Tipo Description
UnaryCallable<DirectPredictRequest,DirectPredictResponse>

directRawPredictCallable()

public UnaryCallable<DirectRawPredictRequest,DirectRawPredictResponse> directRawPredictCallable()
Restituisce
Tipo Description
UnaryCallable<DirectRawPredictRequest,DirectRawPredictResponse>

explainCallable()

public UnaryCallable<ExplainRequest,ExplainResponse> explainCallable()
Restituisce
Tipo Description
UnaryCallable<ExplainRequest,ExplainResponse>

generateContentCallable()

public UnaryCallable<GenerateContentRequest,GenerateContentResponse> generateContentCallable()
Restituisce
Tipo Description
UnaryCallable<GenerateContentRequest,GenerateContentResponse>

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()
Restituisce
Tipo Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

predictCallable()

public UnaryCallable<PredictRequest,PredictResponse> predictCallable()
Restituisce
Tipo Description
UnaryCallable<PredictRequest,PredictResponse>

rawPredictCallable()

public UnaryCallable<RawPredictRequest,HttpBody> rawPredictCallable()
Restituisce
Tipo Description
UnaryCallable<RawPredictRequest,com.google.api.HttpBody>

serverStreamingPredictCallable()

public ServerStreamingCallable<StreamingPredictRequest,StreamingPredictResponse> serverStreamingPredictCallable()
Restituisce
Tipo Description
ServerStreamingCallable<StreamingPredictRequest,StreamingPredictResponse>

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Restituisce
Tipo Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

streamDirectPredictCallable()

public BidiStreamingCallable<StreamDirectPredictRequest,StreamDirectPredictResponse> streamDirectPredictCallable()
Restituisce
Tipo Description
BidiStreamingCallable<StreamDirectPredictRequest,StreamDirectPredictResponse>

streamDirectRawPredictCallable()

public BidiStreamingCallable<StreamDirectRawPredictRequest,StreamDirectRawPredictResponse> streamDirectRawPredictCallable()
Restituisce
Tipo Description
BidiStreamingCallable<StreamDirectRawPredictRequest,StreamDirectRawPredictResponse>

streamGenerateContentCallable()

public ServerStreamingCallable<GenerateContentRequest,GenerateContentResponse> streamGenerateContentCallable()
Restituisce
Tipo Description
ServerStreamingCallable<GenerateContentRequest,GenerateContentResponse>

streamRawPredictCallable()

public ServerStreamingCallable<StreamRawPredictRequest,HttpBody> streamRawPredictCallable()
Restituisce
Tipo Description
ServerStreamingCallable<StreamRawPredictRequest,com.google.api.HttpBody>

streamingPredictCallable()

public BidiStreamingCallable<StreamingPredictRequest,StreamingPredictResponse> streamingPredictCallable()
Restituisce
Tipo Description
BidiStreamingCallable<StreamingPredictRequest,StreamingPredictResponse>

streamingRawPredictCallable()

public BidiStreamingCallable<StreamingRawPredictRequest,StreamingRawPredictResponse> streamingRawPredictCallable()
Restituisce
Tipo Description
BidiStreamingCallable<StreamingRawPredictRequest,StreamingRawPredictResponse>

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Restituisce
Tipo Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>