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
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
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
|
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Folder> |
|
createManagedFolder(CreateManagedFolderRequest request)
public ListenableFuture<ManagedFolder> createManagedFolder(CreateManagedFolderRequest request)
Creates a new managed folder.
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.
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.
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.
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.
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.
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.
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.
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|