Class EndpointServiceGrpc.EndpointServiceStub (0.5.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteEndpoint(DeleteEndpointRequest request, StreamObserver<Operation> responseObserver)

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

Deletes an Endpoint.

Parameters
Name Description
request DeleteEndpointRequest
responseObserver io.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
Name Description
request DeployModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getEndpoint(GetEndpointRequest request, StreamObserver<Endpoint> responseObserver)

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

Gets an Endpoint.

Parameters
Name Description
request GetEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Endpoint>

listEndpoints(ListEndpointsRequest request, StreamObserver<ListEndpointsResponse> responseObserver)

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

Lists Endpoints in a Location.

Parameters
Name Description
request ListEndpointsRequest
responseObserver io.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
Name Description
request MutateDeployedModelRequest
responseObserver io.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
Name Description
request UndeployModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateEndpoint(UpdateEndpointRequest request, StreamObserver<Endpoint> responseObserver)

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

Updates an Endpoint.

Parameters
Name Description
request UpdateEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Endpoint>