public class GrpcStorageControlStub extends StorageControlStub
gRPC stub implementation for the StorageControl service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcStorageControlStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcStorageControlStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(StorageControlStubSettings settings)
public static final GrpcStorageControlStub create(StorageControlStubSettings settings)
Constructors
GrpcStorageControlStub(StorageControlStubSettings settings, ClientContext clientContext)
protected GrpcStorageControlStub(StorageControlStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcStorageControlStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcStorageControlStub(StorageControlStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcStorageControlStub(StorageControlStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcStorageControlStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createFolderCallable()
public UnaryCallable<CreateFolderRequest,Folder> createFolderCallable()
Overrides
deleteFolderCallable()
public UnaryCallable<DeleteFolderRequest,Empty> deleteFolderCallable()
Overrides
getFolderCallable()
public UnaryCallable<GetFolderRequest,Folder> getFolderCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getStorageLayoutCallable()
public UnaryCallable<GetStorageLayoutRequest,StorageLayout> getStorageLayoutCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listFoldersCallable()
public UnaryCallable<ListFoldersRequest,ListFoldersResponse> listFoldersCallable()
Overrides
listFoldersPagedCallable()
public UnaryCallable<ListFoldersRequest,StorageControlClient.ListFoldersPagedResponse> listFoldersPagedCallable()
Overrides
renameFolderCallable()
public UnaryCallable<RenameFolderRequest,Operation> renameFolderCallable()
Overrides
renameFolderOperationCallable()
public OperationCallable<RenameFolderRequest,Folder,RenameFolderMetadata> renameFolderOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()