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.StorageControlStubMethods
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 |
createFolder(CreateFolderRequest request, StreamObserver<Folder> responseObserver)
public void createFolder(CreateFolderRequest request, StreamObserver<Folder> responseObserver)
Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket. Hierarchical namespace buckets are in allowlist preview.
Parameters | |
---|---|
Name | Description |
request |
CreateFolderRequest |
responseObserver |
io.grpc.stub.StreamObserver<Folder> |
createManagedFolder(CreateManagedFolderRequest request, StreamObserver<ManagedFolder> responseObserver)
public void createManagedFolder(CreateManagedFolderRequest request, StreamObserver<ManagedFolder> responseObserver)
Creates a new managed folder.
Parameters | |
---|---|
Name | Description |
request |
CreateManagedFolderRequest |
responseObserver |
io.grpc.stub.StreamObserver<ManagedFolder> |
deleteFolder(DeleteFolderRequest request, StreamObserver<Empty> responseObserver)
public void deleteFolder(DeleteFolderRequest request, StreamObserver<Empty> responseObserver)
Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket. Hierarchical namespace buckets are in allowlist preview.
Parameters | |
---|---|
Name | Description |
request |
DeleteFolderRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
deleteManagedFolder(DeleteManagedFolderRequest request, StreamObserver<Empty> responseObserver)
public void deleteManagedFolder(DeleteManagedFolderRequest request, StreamObserver<Empty> responseObserver)
Permanently deletes an empty managed folder.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagedFolderRequest |
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. This operation is only applicable to a hierarchical namespace enabled bucket. Hierarchical namespace buckets are in allowlist preview.
Parameters | |
---|---|
Name | Description |
request |
GetFolderRequest |
responseObserver |
io.grpc.stub.StreamObserver<Folder> |
getManagedFolder(GetManagedFolderRequest request, StreamObserver<ManagedFolder> responseObserver)
public void getManagedFolder(GetManagedFolderRequest request, StreamObserver<ManagedFolder> responseObserver)
Returns metadata for the specified managed folder.
Parameters | |
---|---|
Name | Description |
request |
GetManagedFolderRequest |
responseObserver |
io.grpc.stub.StreamObserver<ManagedFolder> |
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. This operation is only applicable to a hierarchical namespace enabled bucket. Hierarchical namespace buckets are in allowlist preview.
Parameters | |
---|---|
Name | Description |
request |
ListFoldersRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListFoldersResponse> |
listManagedFolders(ListManagedFoldersRequest request, StreamObserver<ListManagedFoldersResponse> responseObserver)
public void listManagedFolders(ListManagedFoldersRequest request, StreamObserver<ListManagedFoldersResponse> responseObserver)
Retrieves a list of managed folders for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListManagedFoldersRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListManagedFoldersResponse> |
renameFolder(RenameFolderRequest request, StreamObserver<Operation> responseObserver)
public void renameFolder(RenameFolderRequest request, StreamObserver<Operation> responseObserver)
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. Hierarchical namespace buckets are in allowlist preview.
Parameters | |
---|---|
Name | Description |
request |
RenameFolderRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |