Class GrpcCloudCatalogStub (2.43.0)

public class GrpcCloudCatalogStub extends CloudCatalogStub

gRPC stub implementation for the CloudCatalog service API.

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

Inheritance

java.lang.Object > CloudCatalogStub > GrpcCloudCatalogStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CloudCatalogStubSettings settings)

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

Constructors

GrpcCloudCatalogStub(CloudCatalogStubSettings settings, ClientContext clientContext)

protected GrpcCloudCatalogStub(CloudCatalogStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCloudCatalogStub, 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

GrpcCloudCatalogStub(CloudCatalogStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCloudCatalogStub(CloudCatalogStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcCloudCatalogStub, 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 GrpcStubCallableFactory

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

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