Class StorageControlGrpc.StorageControlFutureStub (2.42.0)

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. This operation is only applicable to a hierarchical namespace enabled bucket.

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

createManagedFolder(CreateManagedFolderRequest request)

public ListenableFuture<ManagedFolder> createManagedFolder(CreateManagedFolderRequest request)

Creates a new managed folder.

Parameter
Name Description
request CreateManagedFolderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ManagedFolder>

deleteFolder(DeleteFolderRequest request)

public ListenableFuture<Empty> deleteFolder(DeleteFolderRequest request)

Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.

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

deleteManagedFolder(DeleteManagedFolderRequest request)

public ListenableFuture<Empty> deleteManagedFolder(DeleteManagedFolderRequest request)

Permanently deletes an empty managed folder.

Parameter
Name Description
request DeleteManagedFolderRequest
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. This operation is only applicable to a hierarchical namespace enabled bucket.

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

getManagedFolder(GetManagedFolderRequest request)

public ListenableFuture<ManagedFolder> getManagedFolder(GetManagedFolderRequest request)

Returns metadata for the specified managed folder.

Parameter
Name Description
request GetManagedFolderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ManagedFolder>

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. This operation is only applicable to a hierarchical namespace enabled bucket.

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

listManagedFolders(ListManagedFoldersRequest request)

public ListenableFuture<ListManagedFoldersResponse> listManagedFolders(ListManagedFoldersRequest request)

Retrieves a list of managed folders for a given bucket.

Parameter
Name Description
request ListManagedFoldersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListManagedFoldersResponse>

renameFolder(RenameFolderRequest request)

public ListenableFuture<Operation> renameFolder(RenameFolderRequest request)

Renames a source folder to a destination folder. This operation is only applicable to a hierarchical namespace enabled bucket. 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>