public class HttpJsonDiskTypesStub extends DiskTypesStub
REST stub implementation for the DiskTypes service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDiskTypesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDiskTypesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(DiskTypesStubSettings settings)
public static final HttpJsonDiskTypesStub create(DiskTypesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonDiskTypesStub(DiskTypesStubSettings settings, ClientContext clientContext)
protected HttpJsonDiskTypesStub(DiskTypesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDiskTypesStub, 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.
HttpJsonDiskTypesStub(DiskTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDiskTypesStub(DiskTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDiskTypesStub, 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<AggregatedListDiskTypesRequest,DiskTypeAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListDiskTypesRequest,DiskTypesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getCallable()
public UnaryCallable<GetDiskTypeRequest,DiskType> getCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListDiskTypesRequest,DiskTypeList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListDiskTypesRequest,DiskTypesClient.ListPagedResponse> listPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()