Class PersistentResourceServiceGrpc.PersistentResourceServiceFutureStub (3.41.0)

public static final class PersistentResourceServiceGrpc.PersistentResourceServiceFutureStub extends AbstractFutureStub<PersistentResourceServiceGrpc.PersistentResourceServiceFutureStub>

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

A service for managing Vertex AI's machine learning PersistentResource.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > PersistentResourceServiceGrpc.PersistentResourceServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected PersistentResourceServiceGrpc.PersistentResourceServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
PersistentResourceServiceGrpc.PersistentResourceServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createPersistentResource(CreatePersistentResourceRequest request)

public ListenableFuture<Operation> createPersistentResource(CreatePersistentResourceRequest request)

Creates a PersistentResource.

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

deletePersistentResource(DeletePersistentResourceRequest request)

public ListenableFuture<Operation> deletePersistentResource(DeletePersistentResourceRequest request)

Deletes a PersistentResource.

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

getPersistentResource(GetPersistentResourceRequest request)

public ListenableFuture<PersistentResource> getPersistentResource(GetPersistentResourceRequest request)

Gets a PersistentResource.

Parameter
NameDescription
requestGetPersistentResourceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<PersistentResource>

listPersistentResources(ListPersistentResourcesRequest request)

public ListenableFuture<ListPersistentResourcesResponse> listPersistentResources(ListPersistentResourcesRequest request)

Lists PersistentResources in a Location.

Parameter
NameDescription
requestListPersistentResourcesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListPersistentResourcesResponse>

updatePersistentResource(UpdatePersistentResourceRequest request)

public ListenableFuture<Operation> updatePersistentResource(UpdatePersistentResourceRequest request)

Updates a PersistentResource.

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