Class HttpJsonCloudCatalogStub (2.55.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonCloudCatalogStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(CloudCatalogStubSettings settings)

public static final HttpJsonCloudCatalogStub create(CloudCatalogStubSettings settings)
Parameter
Name Description
settings CloudCatalogStubSettings
Returns
Type Description
HttpJsonCloudCatalogStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings CloudCatalogStubSettings
clientContext ClientContext

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
Name Description
settings CloudCatalogStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listServicesCallable()

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

listServicesPagedCallable()

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

listSkusCallable()

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

listSkusPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()