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.StorageControlBlockingStubMethods
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 |
createFolder(CreateFolderRequest request)
public Folder createFolder(CreateFolderRequest request)
Creates a new folder.
Parameter | |
---|---|
Name | Description |
request |
CreateFolderRequest |
Returns | |
---|---|
Type | Description |
Folder |
deleteFolder(DeleteFolderRequest request)
public Empty deleteFolder(DeleteFolderRequest request)
Permanently deletes an empty folder.
Parameter | |
---|---|
Name | Description |
request |
DeleteFolderRequest |
Returns | |
---|---|
Type | Description |
Empty |
getFolder(GetFolderRequest request)
public Folder getFolder(GetFolderRequest request)
Returns metadata for the specified folder.
Parameter | |
---|---|
Name | Description |
request |
GetFolderRequest |
Returns | |
---|---|
Type | Description |
Folder |
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 for a given bucket.
Parameter | |
---|---|
Name | Description |
request |
ListFoldersRequest |
Returns | |
---|---|
Type | Description |
ListFoldersResponse |
renameFolder(RenameFolderRequest request)
public 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 |
Operation |