Class ExtensionRegistryServiceGrpc.ExtensionRegistryServiceFutureStub (3.41.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestDeleteExtensionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getExtension(GetExtensionRequest request)

public ListenableFuture<Extension> getExtension(GetExtensionRequest request)

Gets an Extension.

Parameter
NameDescription
requestGetExtensionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Extension>

importExtension(ImportExtensionRequest request)

public ListenableFuture<Operation> importExtension(ImportExtensionRequest request)

Imports an Extension.

Parameter
NameDescription
requestImportExtensionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

listExtensions(ListExtensionsRequest request)

public ListenableFuture<ListExtensionsResponse> listExtensions(ListExtensionsRequest request)

Lists Extensions in a location.

Parameter
NameDescription
requestListExtensionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListExtensionsResponse>

updateExtension(UpdateExtensionRequest request)

public ListenableFuture<Extension> updateExtension(UpdateExtensionRequest request)

Updates an Extension.

Parameter
NameDescription
requestUpdateExtensionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Extension>