Class EndpointServiceGrpc.EndpointServiceStub (3.33.0)

public static final class EndpointServiceGrpc.EndpointServiceStub extends AbstractAsyncStub<EndpointServiceGrpc.EndpointServiceStub>

A stub to allow clients to do asynchronous rpc calls to service EndpointService.

A service for managing Vertex AI's Endpoints.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > EndpointServiceGrpc.EndpointServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected EndpointServiceGrpc.EndpointServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
EndpointServiceGrpc.EndpointServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createEndpoint(CreateEndpointRequest request, StreamObserver<Operation> responseObserver)

public void createEndpoint(CreateEndpointRequest request, StreamObserver<Operation> responseObserver)

Creates an Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteEndpoint(DeleteEndpointRequest request, StreamObserver<Operation> responseObserver)

public void deleteEndpoint(DeleteEndpointRequest request, StreamObserver<Operation> responseObserver)

Deletes an Endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deployModel(DeployModelRequest request, StreamObserver<Operation> responseObserver)

public void deployModel(DeployModelRequest request, StreamObserver<Operation> responseObserver)

Deploys a Model into this Endpoint, creating a DeployedModel within it.

Parameters
NameDescription
requestDeployModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getEndpoint(GetEndpointRequest request, StreamObserver<Endpoint> responseObserver)

public void getEndpoint(GetEndpointRequest request, StreamObserver<Endpoint> responseObserver)

Gets an Endpoint.

Parameters
NameDescription
requestGetEndpointRequest
responseObserverio.grpc.stub.StreamObserver<Endpoint>

listEndpoints(ListEndpointsRequest request, StreamObserver<ListEndpointsResponse> responseObserver)

public void listEndpoints(ListEndpointsRequest request, StreamObserver<ListEndpointsResponse> responseObserver)

Lists Endpoints in a Location.

Parameters
NameDescription
requestListEndpointsRequest
responseObserverio.grpc.stub.StreamObserver<ListEndpointsResponse>

mutateDeployedModel(MutateDeployedModelRequest request, StreamObserver<Operation> responseObserver)

public void mutateDeployedModel(MutateDeployedModelRequest request, StreamObserver<Operation> responseObserver)

Updates an existing deployed model. Updatable fields include min_replica_count, max_replica_count, autoscaling_metric_specs, disable_container_logging (v1 only), and enable_container_logging (v1beta1 only).

Parameters
NameDescription
requestMutateDeployedModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

undeployModel(UndeployModelRequest request, StreamObserver<Operation> responseObserver)

public void undeployModel(UndeployModelRequest request, StreamObserver<Operation> responseObserver)

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateEndpoint(UpdateEndpointRequest request, StreamObserver<Endpoint> responseObserver)

public void updateEndpoint(UpdateEndpointRequest request, StreamObserver<Endpoint> responseObserver)

Updates an Endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest
responseObserverio.grpc.stub.StreamObserver<Endpoint>