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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonStoragePoolTypesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonStoragePoolTypesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(StoragePoolTypesStubSettings settings)
public static final HttpJsonStoragePoolTypesStub create(StoragePoolTypesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListStoragePoolTypesRequest,StoragePoolTypeAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListStoragePoolTypesRequest,StoragePoolTypesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getCallable()
public UnaryCallable<GetStoragePoolTypeRequest,StoragePoolType> getCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListStoragePoolTypesRequest,StoragePoolTypeList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListStoragePoolTypesRequest,StoragePoolTypesClient.ListPagedResponse> listPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()