Package com.google.storage.control.v2
Class StorageControlGrpc.StorageControlFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<StorageControlGrpc.StorageControlFutureStub>
com.google.storage.control.v2.StorageControlGrpc.StorageControlFutureStub
- Enclosing class:
- StorageControlGrpc
public static final class StorageControlGrpc.StorageControlFutureStub
extends io.grpc.stub.AbstractFutureStub<StorageControlGrpc.StorageControlFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service StorageControl.
StorageControl service includes selected control plane operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Folder>createFolder(CreateFolderRequest request) Creates a new folder.com.google.common.util.concurrent.ListenableFuture<ManagedFolder>Creates a new managed folder.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteFolder(DeleteFolderRequest request) Permanently deletes an empty folder.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Permanently deletes an empty managed folder.com.google.common.util.concurrent.ListenableFuture<Folder>getFolder(GetFolderRequest request) Returns metadata for the specified folder.com.google.common.util.concurrent.ListenableFuture<ManagedFolder>getManagedFolder(GetManagedFolderRequest request) Returns metadata for the specified managed folder.com.google.common.util.concurrent.ListenableFuture<StorageLayout>getStorageLayout(GetStorageLayoutRequest request) Returns the storage layout configuration for a given bucket.com.google.common.util.concurrent.ListenableFuture<ListFoldersResponse>listFolders(ListFoldersRequest request) Retrieves a list of folders.com.google.common.util.concurrent.ListenableFuture<ListManagedFoldersResponse>Retrieves a list of managed folders for a given bucket.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>renameFolder(RenameFolderRequest request) Renames a source folder to a destination folder.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected StorageControlGrpc.StorageControlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<StorageControlGrpc.StorageControlFutureStub>
-
createFolder
public com.google.common.util.concurrent.ListenableFuture<Folder> createFolder(CreateFolderRequest request) Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
-
deleteFolder
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteFolder(DeleteFolderRequest request) Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
-
getFolder
public com.google.common.util.concurrent.ListenableFuture<Folder> getFolder(GetFolderRequest request) Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
-
listFolders
public com.google.common.util.concurrent.ListenableFuture<ListFoldersResponse> listFolders(ListFoldersRequest request) Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
-
renameFolder
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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.
-
getStorageLayout
public com.google.common.util.concurrent.ListenableFuture<StorageLayout> getStorageLayout(GetStorageLayoutRequest request) Returns the storage layout configuration for a given bucket.
-
createManagedFolder
public com.google.common.util.concurrent.ListenableFuture<ManagedFolder> createManagedFolder(CreateManagedFolderRequest request) Creates a new managed folder.
-
deleteManagedFolder
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteManagedFolder(DeleteManagedFolderRequest request) Permanently deletes an empty managed folder.
-
getManagedFolder
public com.google.common.util.concurrent.ListenableFuture<ManagedFolder> getManagedFolder(GetManagedFolderRequest request) Returns metadata for the specified managed folder.
-
listManagedFolders
public com.google.common.util.concurrent.ListenableFuture<ListManagedFoldersResponse> listManagedFolders(ListManagedFoldersRequest request) Retrieves a list of managed folders for a given bucket.
-