Class HttpJsonCloudCatalogStub (2.7.0)

public class HttpJsonCloudCatalogStub extends CloudCatalogStub

REST stub implementation for the CloudCatalog service API.

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

Inheritance

java.lang.Object > CloudCatalogStub > HttpJsonCloudCatalogStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonCloudCatalogStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonCloudCatalogStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCloudCatalogStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonCloudCatalogStub
Exceptions
TypeDescription
IOException

create(CloudCatalogStubSettings settings)

public static final HttpJsonCloudCatalogStub create(CloudCatalogStubSettings settings)
Parameter
NameDescription
settingsCloudCatalogStubSettings
Returns
TypeDescription
HttpJsonCloudCatalogStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonCloudCatalogStub(CloudCatalogStubSettings settings, ClientContext clientContext)

protected HttpJsonCloudCatalogStub(CloudCatalogStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCloudCatalogStub, 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
NameDescription
settingsCloudCatalogStubSettings
clientContextClientContext

HttpJsonCloudCatalogStub(CloudCatalogStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCloudCatalogStub(CloudCatalogStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCloudCatalogStub, 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
NameDescription
settingsCloudCatalogStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listServicesCallable()

public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns
TypeDescription
UnaryCallable<ListServicesRequest,ListServicesResponse>
Overrides

listServicesPagedCallable()

public UnaryCallable<ListServicesRequest,CloudCatalogClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListServicesRequest,ListServicesPagedResponse>
Overrides

listSkusCallable()

public UnaryCallable<ListSkusRequest,ListSkusResponse> listSkusCallable()
Returns
TypeDescription
UnaryCallable<ListSkusRequest,ListSkusResponse>
Overrides

listSkusPagedCallable()

public UnaryCallable<ListSkusRequest,CloudCatalogClient.ListSkusPagedResponse> listSkusPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSkusRequest,ListSkusPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()