Class StorageControlGrpc.StorageControlStub (2.34.0)

public static final class StorageControlGrpc.StorageControlStub extends AbstractAsyncStub<StorageControlGrpc.StorageControlStub>

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

StorageControl service includes selected control plane operations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > StorageControlGrpc.StorageControlStub

Methods

build(Channel channel, CallOptions callOptions)

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

createFolder(CreateFolderRequest request, StreamObserver<Folder> responseObserver)

public void createFolder(CreateFolderRequest request, StreamObserver<Folder> responseObserver)

Creates a new folder.

Parameters
Name Description
request CreateFolderRequest
responseObserver io.grpc.stub.StreamObserver<Folder>

deleteFolder(DeleteFolderRequest request, StreamObserver<Empty> responseObserver)

public void deleteFolder(DeleteFolderRequest request, StreamObserver<Empty> responseObserver)

Permanently deletes an empty folder.

Parameters
Name Description
request DeleteFolderRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getFolder(GetFolderRequest request, StreamObserver<Folder> responseObserver)

public void getFolder(GetFolderRequest request, StreamObserver<Folder> responseObserver)

Returns metadata for the specified folder.

Parameters
Name Description
request GetFolderRequest
responseObserver io.grpc.stub.StreamObserver<Folder>

getStorageLayout(GetStorageLayoutRequest request, StreamObserver<StorageLayout> responseObserver)

public void getStorageLayout(GetStorageLayoutRequest request, StreamObserver<StorageLayout> responseObserver)

Returns the storage layout configuration for a given bucket.

Parameters
Name Description
request GetStorageLayoutRequest
responseObserver io.grpc.stub.StreamObserver<StorageLayout>

listFolders(ListFoldersRequest request, StreamObserver<ListFoldersResponse> responseObserver)

public void listFolders(ListFoldersRequest request, StreamObserver<ListFoldersResponse> responseObserver)

Retrieves a list of folders for a given bucket.

Parameters
Name Description
request ListFoldersRequest
responseObserver io.grpc.stub.StreamObserver<ListFoldersResponse>

renameFolder(RenameFolderRequest request, StreamObserver<Operation> responseObserver)

public void renameFolder(RenameFolderRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request RenameFolderRequest
responseObserver io.grpc.stub.StreamObserver<Operation>