Class HttpJsonStoragePoolTypesStub (1.54.0)

public class HttpJsonStoragePoolTypesStub extends StoragePoolTypesStub

REST stub implementation for the StoragePoolTypes service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > StoragePoolTypesStub > HttpJsonStoragePoolTypesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonStoragePoolTypesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonStoragePoolTypesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonStoragePoolTypesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonStoragePoolTypesStub
Exceptions
Type Description
IOException

create(StoragePoolTypesStubSettings settings)

public static final HttpJsonStoragePoolTypesStub create(StoragePoolTypesStubSettings settings)
Parameter
Name Description
settings StoragePoolTypesStubSettings
Returns
Type Description
HttpJsonStoragePoolTypesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonStoragePoolTypesStub(StoragePoolTypesStubSettings settings, ClientContext clientContext)

protected HttpJsonStoragePoolTypesStub(StoragePoolTypesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonStoragePoolTypesStub, 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 StoragePoolTypesStubSettings
clientContext ClientContext

HttpJsonStoragePoolTypesStub(StoragePoolTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonStoragePoolTypesStub(StoragePoolTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonStoragePoolTypesStub, 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 StoragePoolTypesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListStoragePoolTypesRequest,StoragePoolTypeAggregatedList> aggregatedListCallable()
Returns
Type Description
UnaryCallable<AggregatedListStoragePoolTypesRequest,StoragePoolTypeAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListStoragePoolTypesRequest,StoragePoolTypesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListStoragePoolTypesRequest,AggregatedListPagedResponse>
Overrides

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()
Overrides

getCallable()

public UnaryCallable<GetStoragePoolTypeRequest,StoragePoolType> getCallable()
Returns
Type Description
UnaryCallable<GetStoragePoolTypeRequest,StoragePoolType>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListStoragePoolTypesRequest,StoragePoolTypeList> listCallable()
Returns
Type Description
UnaryCallable<ListStoragePoolTypesRequest,StoragePoolTypeList>
Overrides

listPagedCallable()

public UnaryCallable<ListStoragePoolTypesRequest,StoragePoolTypesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListStoragePoolTypesRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()