Classe EndpointServiceGrpc.EndpointServiceFutureStub (1.3.0)

public static final class EndpointServiceGrpc.EndpointServiceFutureStub extends AbstractFutureStub<EndpointServiceGrpc.EndpointServiceFutureStub>

Uno stub per consentire ai clienti di effettuare chiamate RPC in stile AscoltaableFuture al servizio EndpointService.

Un servizio per la gestione degli endpoint di Vertex AI.

Ereditarietà

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EndpointServiceGrpc.EndpointServiceFutureStub

Metodi

build(Canale canale, CallOptions callOptions)

protected EndpointServiceGrpc.EndpointServiceFutureStub build(Channel channel, CallOptions callOptions)
Parametri
Nome Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Restituisce
Tipo Description
EndpointServiceGrpc.EndpointServiceFutureStub
Sostituzioni
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createEndpoint(CreateEndpointRequest request)

public ListenableFuture<Operation> createEndpoint(CreateEndpointRequest request)

Crea un endpoint.

Parametro
Nome Description
request CreateEndpointRequest
Restituisce
Tipo Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEndpoint(DeleteEndpointRequest request)

public ListenableFuture<Operation> deleteEndpoint(DeleteEndpointRequest request)

Elimina un endpoint.

Parametro
Nome Description
request DeleteEndpointRequest
Restituisce
Tipo Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deployModel(DeployModelRequest request)

public ListenableFuture<Operation> deployModel(DeployModelRequest request)

Esegue il deployment di un modello in questo endpoint, creando un modello implementato al suo interno.

Parametro
Nome Description
request DeployModelRequest
Restituisce
Tipo Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getEndpoint(GetEndpointRequest request)

public ListenableFuture<Endpoint> getEndpoint(GetEndpointRequest request)

Recupera un endpoint.

Parametro
Nome Description
request GetEndpointRequest
Restituisce
Tipo Description
com.google.common.util.concurrent.ListenableFuture<Endpoint>

listEndpoints(ListEndpointsRequest request)

public ListenableFuture<ListEndpointsResponse> listEndpoints(ListEndpointsRequest request)

Elenca gli endpoint in una località.

Parametro
Nome Description
request ListEndpointsRequest
Restituisce
Tipo Description
com.google.common.util.concurrent.ListenableFuture<ListEndpointsResponse>

mutateDeployedModel(MutateDeployedModelRequest request)

public ListenableFuture<Operation> mutateDeployedModel(MutateDeployedModelRequest request)

Aggiorna un modello esistente di cui è stato eseguito il deployment. I campi aggiornabili includono min_replica_count, max_replica_count, autoscaling_metric_specs, disable_container_logging (solo v1) e enable_container_logging (solo v1beta1).

Parametro
Nome Description
request MutateDeployedModelRequest
Restituisce
Tipo Description
com.google.common.util.concurrent.ListenableFuture<Operation>

undeployModel(UndeployModelRequest request)

public ListenableFuture<Operation> undeployModel(UndeployModelRequest request)

Annulla il deployment di un modello da un endpoint, rimuovendo un modello DeployedModel da quest'ultimo e liberando tutte le risorse che utilizza.

Parametro
Nome Description
request UndeployModelRequest
Restituisce
Tipo Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateEndpoint(UpdateEndpointRequest request)

public ListenableFuture<Endpoint> updateEndpoint(UpdateEndpointRequest request)

Aggiorna un endpoint.

Parametro
Nome Description
request UpdateEndpointRequest
Restituisce
Tipo Description
com.google.common.util.concurrent.ListenableFuture<Endpoint>