Class EndpointServiceGrpc.EndpointServiceStub (1.40.0)

publicstaticfinalclass EndpointServiceGrpc.EndpointServiceStubextendsAbstractAsyncStub<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

Inherited Members

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)

protectedEndpointServiceGrpc.EndpointServiceStubbuild(Channelchannel,CallOptionscallOptions)
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)

publicvoidcreateEndpoint(CreateEndpointRequestrequest,StreamObserver<Operation>responseObserver)

Creates an Endpoint.

Parameters
Name Description
request CreateEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteEndpoint(DeleteEndpointRequest request, StreamObserver<Operation> responseObserver)

publicvoiddeleteEndpoint(DeleteEndpointRequestrequest,StreamObserver<Operation>responseObserver)

Deletes an Endpoint.

Parameters
Name Description
request DeleteEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deployModel(DeployModelRequest request, StreamObserver<Operation> responseObserver)

publicvoiddeployModel(DeployModelRequestrequest,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)

publicvoidgetEndpoint(GetEndpointRequestrequest,StreamObserver<Endpoint>responseObserver)

Gets an Endpoint.

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

listEndpoints(ListEndpointsRequest request, StreamObserver<ListEndpointsResponse> responseObserver)

publicvoidlistEndpoints(ListEndpointsRequestrequest,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)

publicvoidmutateDeployedModel(MutateDeployedModelRequestrequest,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)

publicvoidundeployModel(UndeployModelRequestrequest,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)

publicvoidupdateEndpoint(UpdateEndpointRequestrequest,StreamObserver<Endpoint>responseObserver)

Updates an Endpoint.

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

updateEndpointLongRunning(UpdateEndpointLongRunningRequest request, StreamObserver<Operation> responseObserver)

publicvoidupdateEndpointLongRunning(UpdateEndpointLongRunningRequestrequest,StreamObserver<Operation>responseObserver)

Updates an Endpoint with a long running operation.

Parameters
Name Description
request UpdateEndpointLongRunningRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.