Class EndpointServiceGrpc.EndpointServiceStub (1.18.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
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

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>