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.
 
  • Method Details

    • build

      protected StorageControlGrpc.StorageControlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.