- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.3
- 2.52.3
- 2.50.0
- 2.49.0
- 2.48.2
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
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)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcStorageControlStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcStorageControlStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcStorageControlStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(StorageControlStubSettings settings)
public static final GrpcStorageControlStub create(StorageControlStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
StorageControlStubSettings |
Returns | |
---|---|
Type | Description |
GrpcStorageControlStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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.
Parameters | |
---|---|
Name | Description |
settings |
StorageControlStubSettings |
clientContext |
ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings |
StorageControlStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createFolderCallable()
public UnaryCallable<CreateFolderRequest,Folder> createFolderCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateFolderRequest,Folder> |
deleteFolderCallable()
public UnaryCallable<DeleteFolderRequest,Empty> deleteFolderCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteFolderRequest,Empty> |
getFolderCallable()
public UnaryCallable<GetFolderRequest,Folder> getFolderCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetFolderRequest,Folder> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getStorageLayoutCallable()
public UnaryCallable<GetStorageLayoutRequest,StorageLayout> getStorageLayoutCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetStorageLayoutRequest,StorageLayout> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listFoldersCallable()
public UnaryCallable<ListFoldersRequest,ListFoldersResponse> listFoldersCallable()
Returns | |
---|---|
Type | Description |
|