public static final class EndpointServiceGrpc.EndpointServiceStub extends AbstractAsyncStub<EndpointServiceGrpc.EndpointServiceStub>
Uno stub per consentire ai client di effettuare chiamate RPC asincrone al servizio EndpointService.
Un servizio per la gestione degli endpoint di Vertex AI.
Ereditarietà
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > EndpointServiceGrpc.EndpointServiceStubMetodi
build(Canale canale, CallOptions callOptions)
protected EndpointServiceGrpc.EndpointServiceStub build(Channel channel, CallOptions callOptions)
Parametri | |
---|---|
Nome | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Restituisce | |
---|---|
Tipo | Description |
EndpointServiceGrpc.EndpointServiceStub |
createEndpoint(CreateEndpointRequest request, StreamObserver<Operation> responseObserver)
public void createEndpoint(CreateEndpointRequest request, StreamObserver<Operation> responseObserver)
Crea un endpoint.
Parametri | |
---|---|
Nome | Description |
request |
CreateEndpointRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteEndpoint(DeleteEndpointRequest request, StreamObserver<Operation> responseObserver)
public void deleteEndpoint(DeleteEndpointRequest request, StreamObserver<Operation> responseObserver)
Elimina un endpoint.
Parametri | |
---|---|
Nome | Description |
request |
DeleteEndpointRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deployModel(DeployModelRequest request, StreamObserver<Operation> responseObserver)
public void deployModel(DeployModelRequest request, StreamObserver<Operation> responseObserver)
Esegue il deployment di un modello in questo endpoint, creando un modello implementato al suo interno.
Parametri | |
---|---|
Nome | Description |
request |
DeployModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
getEndpoint(GetEndpointRequest request, StreamObserver<Endpoint> responseObserver)
public void getEndpoint(GetEndpointRequest request, StreamObserver<Endpoint> responseObserver)
Recupera un endpoint.
Parametri | |
---|---|
Nome | Description |
request |
GetEndpointRequest |
responseObserver |
io.grpc.stub.StreamObserver<Endpoint> |
listEndpoints(ListEndpointsRequest request, StreamObserver<ListEndpointsResponse> responseObserver)
public void listEndpoints(ListEndpointsRequest request, StreamObserver<ListEndpointsResponse> responseObserver)
Elenca gli endpoint in una località.
Parametri | |
---|---|
Nome | Description |
request |
ListEndpointsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListEndpointsResponse> |
mutateDeployedModel(MutateDeployedModelRequest request, StreamObserver<Operation> responseObserver)
public void mutateDeployedModel(MutateDeployedModelRequest request, StreamObserver<Operation> responseObserver)
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).
Parametri | |
---|---|
Nome | Description |
request |
MutateDeployedModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
undeployModel(UndeployModelRequest request, StreamObserver<Operation> responseObserver)
public void undeployModel(UndeployModelRequest request, StreamObserver<Operation> responseObserver)
Annulla il deployment di un modello da un endpoint, rimuovendo un modello DeployedModel da quest'ultimo e liberando tutte le risorse che utilizza.
Parametri | |
---|---|
Nome | Description |
request |
UndeployModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateEndpoint(UpdateEndpointRequest request, StreamObserver<Endpoint> responseObserver)
public void updateEndpoint(UpdateEndpointRequest request, StreamObserver<Endpoint> responseObserver)
Aggiorna un endpoint.
Parametri | |
---|---|
Nome | Description |
request |
UpdateEndpointRequest |
responseObserver |
io.grpc.stub.StreamObserver<Endpoint> |