Class StorageControlGrpc.StorageControlFutureStub (2.36.1)

public static final class StorageControlGrpc.StorageControlFutureStub extends AbstractFutureStub<StorageControlGrpc.StorageControlFutureStub>

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

StorageControl service includes selected control plane operations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > StorageControlGrpc.StorageControlFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createFolder(CreateFolderRequest request)

public ListenableFuture<Folder> createFolder(CreateFolderRequest request)

Creates a new folder.

Parameter
Name Description
request CreateFolderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Folder>

deleteFolder(DeleteFolderRequest request)

public ListenableFuture<Empty> deleteFolder(DeleteFolderRequest request)

Permanently deletes an empty folder.

Parameter
Name Description
request DeleteFolderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getFolder(GetFolderRequest request)

public ListenableFuture<Folder> getFolder(GetFolderRequest request)

Returns metadata for the specified folder.

Parameter
Name Description
request GetFolderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Folder>

getStorageLayout(GetStorageLayoutRequest request)

public ListenableFuture<StorageLayout> getStorageLayout(GetStorageLayoutRequest request)

Returns the storage layout configuration for a given bucket.

Parameter
Name Description
request GetStorageLayoutRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<StorageLayout>

listFolders(ListFoldersRequest request)

public ListenableFuture<ListFoldersResponse> listFolders(ListFoldersRequest request)

Retrieves a list of folders for a given bucket.

Parameter
Name Description
request ListFoldersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListFoldersResponse>

renameFolder(RenameFolderRequest request)

public ListenableFuture<Operation> renameFolder(RenameFolderRequest request)

Renames a source folder to a destination folder. During a rename, the source and destination folders are locked until the long running operation completes.

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