Class ExtensionRegistryServiceGrpc.ExtensionRegistryServiceStub (3.55.0)

public static final class ExtensionRegistryServiceGrpc.ExtensionRegistryServiceStub extends AbstractAsyncStub<ExtensionRegistryServiceGrpc.ExtensionRegistryServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > ExtensionRegistryServiceGrpc.ExtensionRegistryServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteExtension(DeleteExtensionRequest request, StreamObserver<Operation> responseObserver)

public void deleteExtension(DeleteExtensionRequest request, StreamObserver<Operation> responseObserver)

Deletes an Extension.

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

getExtension(GetExtensionRequest request, StreamObserver<Extension> responseObserver)

public void getExtension(GetExtensionRequest request, StreamObserver<Extension> responseObserver)

Gets an Extension.

Parameters
Name Description
request GetExtensionRequest
responseObserver io.grpc.stub.StreamObserver<Extension>

importExtension(ImportExtensionRequest request, StreamObserver<Operation> responseObserver)

public void importExtension(ImportExtensionRequest request, StreamObserver<Operation> responseObserver)

Imports an Extension.

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

listExtensions(ListExtensionsRequest request, StreamObserver<ListExtensionsResponse> responseObserver)

public void listExtensions(ListExtensionsRequest request, StreamObserver<ListExtensionsResponse> responseObserver)

Lists Extensions in a location.

Parameters
Name Description
request ListExtensionsRequest
responseObserver io.grpc.stub.StreamObserver<ListExtensionsResponse>

updateExtension(UpdateExtensionRequest request, StreamObserver<Extension> responseObserver)

public void updateExtension(UpdateExtensionRequest request, StreamObserver<Extension> responseObserver)

Updates an Extension.

Parameters
Name Description
request UpdateExtensionRequest
responseObserver io.grpc.stub.StreamObserver<Extension>