Class StorageControlGrpc.StorageControlBlockingStub (2.43.1)

public static final class StorageControlGrpc.StorageControlBlockingStub extends AbstractBlockingStub<StorageControlGrpc.StorageControlBlockingStub>

A stub to allow clients to do synchronous rpc calls to service StorageControl.

StorageControl service includes selected control plane operations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > StorageControlGrpc.StorageControlBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createFolder(CreateFolderRequest request)

public 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
Folder

createManagedFolder(CreateManagedFolderRequest request)

public ManagedFolder createManagedFolder(CreateManagedFolderRequest request)

Creates a new managed folder.

Parameter
Name Description
request CreateManagedFolderRequest
Returns
Type Description
ManagedFolder

deleteFolder(DeleteFolderRequest request)

public 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
Empty

deleteManagedFolder(DeleteManagedFolderRequest request)

public Empty deleteManagedFolder(DeleteManagedFolderRequest request)

Permanently deletes an empty managed folder.

Parameter
Name Description
request DeleteManagedFolderRequest
Returns
Type Description
Empty

getFolder(GetFolderRequest request)

public 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
Folder

getManagedFolder(GetManagedFolderRequest request)

public ManagedFolder getManagedFolder(GetManagedFolderRequest request)

Returns metadata for the specified managed folder.

Parameter
Name Description
request GetManagedFolderRequest
Returns
Type Description
ManagedFolder

getStorageLayout(GetStorageLayoutRequest request)

public StorageLayout getStorageLayout(GetStorageLayoutRequest request)

Returns the storage layout configuration for a given bucket.

Parameter
Name Description
request GetStorageLayoutRequest
Returns
Type Description
StorageLayout

listFolders(ListFoldersRequest request)

public 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
ListFoldersResponse

listManagedFolders(ListManagedFoldersRequest request)

public ListManagedFoldersResponse listManagedFolders(ListManagedFoldersRequest request)

Retrieves a list of managed folders for a given bucket.

Parameter
Name Description
request ListManagedFoldersRequest
Returns
Type Description
ListManagedFoldersResponse

renameFolder(RenameFolderRequest request)

public 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
Operation