Class ExtensionRegistryServiceGrpc.ExtensionRegistryServiceFutureStub (3.42.0)

public static final class ExtensionRegistryServiceGrpc.ExtensionRegistryServiceFutureStub extends AbstractFutureStub<ExtensionRegistryServiceGrpc.ExtensionRegistryServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ExtensionRegistryService.

A service for managing Vertex AI's Extension registry.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ExtensionRegistryServiceGrpc.ExtensionRegistryServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ExtensionRegistryServiceGrpc.ExtensionRegistryServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ExtensionRegistryServiceGrpc.ExtensionRegistryServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteExtension(DeleteExtensionRequest request)

public ListenableFuture<Operation> deleteExtension(DeleteExtensionRequest request)

Deletes an Extension.

Parameter
Name Description
request DeleteExtensionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getExtension(GetExtensionRequest request)

public ListenableFuture<Extension> getExtension(GetExtensionRequest request)

Gets an Extension.

Parameter
Name Description
request GetExtensionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Extension>

importExtension(ImportExtensionRequest request)

public ListenableFuture<Operation> importExtension(ImportExtensionRequest request)

Imports an Extension.

Parameter
Name Description
request ImportExtensionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

listExtensions(ListExtensionsRequest request)

public ListenableFuture<ListExtensionsResponse> listExtensions(ListExtensionsRequest request)

Lists Extensions in a location.

Parameter
Name Description
request ListExtensionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListExtensionsResponse>

updateExtension(UpdateExtensionRequest request)

public ListenableFuture<Extension> updateExtension(UpdateExtensionRequest request)

Updates an Extension.

Parameter
Name Description
request UpdateExtensionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Extension>