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(java.time.Duration)
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)
createAnywhereCache(CreateAnywhereCacheRequest request)
public ListenableFuture<Operation> createAnywhereCache(CreateAnywhereCacheRequest request)
Creates an Anywhere Cache instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
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> |
|
disableAnywhereCache(DisableAnywhereCacheRequest request)
public ListenableFuture<AnywhereCache> disableAnywhereCache(DisableAnywhereCacheRequest request)
Disables an Anywhere Cache instance. A disabled instance is read-only. The
disablement could be revoked by calling ResumeAnywhereCache. The cache
instance will be deleted automatically if it remains in the disabled state
for at least one hour.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<AnywhereCache> |
|
getAnywhereCache(GetAnywhereCacheRequest request)
public ListenableFuture<AnywhereCache> getAnywhereCache(GetAnywhereCacheRequest request)
Gets an Anywhere Cache instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<AnywhereCache> |
|
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> |
|
getFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest request)
public ListenableFuture<IntelligenceConfig> getFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest request)
Returns the Folder scoped singleton IntelligenceConfig resource.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> |
|
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> |
|
getOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest request)
public ListenableFuture<IntelligenceConfig> getOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest request)
Returns the Organization scoped singleton IntelligenceConfig resource.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> |
|
getProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest request)
public ListenableFuture<IntelligenceConfig> getProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest request)
Returns the Project scoped singleton IntelligenceConfig resource.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> |
|
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> |
|
listAnywhereCaches(ListAnywhereCachesRequest request)
public ListenableFuture<ListAnywhereCachesResponse> listAnywhereCaches(ListAnywhereCachesRequest request)
Lists Anywhere Cache instances for a given bucket.
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.
pauseAnywhereCache(PauseAnywhereCacheRequest request)
public ListenableFuture<AnywhereCache> pauseAnywhereCache(PauseAnywhereCacheRequest request)
Pauses an Anywhere Cache instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<AnywhereCache> |
|
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> |
|
resumeAnywhereCache(ResumeAnywhereCacheRequest request)
public ListenableFuture<AnywhereCache> resumeAnywhereCache(ResumeAnywhereCacheRequest request)
Resumes a disabled or paused Anywhere Cache instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<AnywhereCache> |
|
updateAnywhereCache(UpdateAnywhereCacheRequest request)
public ListenableFuture<Operation> updateAnywhereCache(UpdateAnywhereCacheRequest request)
Updates an Anywhere Cache instance. Mutable fields include ttl
and
admission_policy
.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest request)
public ListenableFuture<IntelligenceConfig> updateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest request)
Updates the Folder scoped singleton IntelligenceConfig resource.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> |
|
updateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest request)
public ListenableFuture<IntelligenceConfig> updateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest request)
Updates the Organization scoped singleton IntelligenceConfig resource.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> |
|
updateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest request)
public ListenableFuture<IntelligenceConfig> updateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest request)
Updates the Project scoped singleton IntelligenceConfig resource.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> |
|