Class GrpcCloudProductRegistryReadServiceStub (0.1.0)

public class GrpcCloudProductRegistryReadServiceStub extends CloudProductRegistryReadServiceStub

gRPC stub implementation for the CloudProductRegistryReadService service API.

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

Inheritance

java.lang.Object > CloudProductRegistryReadServiceStub > GrpcCloudProductRegistryReadServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CloudProductRegistryReadServiceStubSettings settings)

public static final GrpcCloudProductRegistryReadServiceStub create(CloudProductRegistryReadServiceStubSettings settings)
Parameter
Name Description
settings CloudProductRegistryReadServiceStubSettings
Returns
Type Description
GrpcCloudProductRegistryReadServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcCloudProductRegistryReadServiceStub(CloudProductRegistryReadServiceStubSettings settings, ClientContext clientContext)

protected GrpcCloudProductRegistryReadServiceStub(CloudProductRegistryReadServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCloudProductRegistryReadServiceStub, 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 CloudProductRegistryReadServiceStubSettings
clientContext ClientContext

GrpcCloudProductRegistryReadServiceStub(CloudProductRegistryReadServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCloudProductRegistryReadServiceStub(CloudProductRegistryReadServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

getLogicalProductCallable()

public UnaryCallable<GetLogicalProductRequest,LogicalProduct> getLogicalProductCallable()
Returns
Type Description
UnaryCallable<GetLogicalProductRequest,LogicalProduct>
Overrides

getLogicalProductVariantCallable()

public UnaryCallable<GetLogicalProductVariantRequest,LogicalProductVariant> getLogicalProductVariantCallable()
Returns
Type Description
UnaryCallable<GetLogicalProductVariantRequest,LogicalProductVariant>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getProductSuiteCallable()

public UnaryCallable<GetProductSuiteRequest,ProductSuite> getProductSuiteCallable()
Returns
Type Description
UnaryCallable<GetProductSuiteRequest,ProductSuite>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLogicalProductVariantsCallable()

public UnaryCallable<ListLogicalProductVariantsRequest,ListLogicalProductVariantsResponse> listLogicalProductVariantsCallable()
Returns
Type Description
UnaryCallable<ListLogicalProductVariantsRequest,ListLogicalProductVariantsResponse>
Overrides

listLogicalProductVariantsPagedCallable()

public UnaryCallable<ListLogicalProductVariantsRequest,CloudProductRegistryReadServiceClient.ListLogicalProductVariantsPagedResponse> listLogicalProductVariantsPagedCallable()
Returns
Type Description
UnaryCallable<ListLogicalProductVariantsRequest,ListLogicalProductVariantsPagedResponse>
Overrides

listLogicalProductsCallable()

public UnaryCallable<ListLogicalProductsRequest,ListLogicalProductsResponse> listLogicalProductsCallable()
Returns
Type Description
UnaryCallable<ListLogicalProductsRequest,ListLogicalProductsResponse>
Overrides

listLogicalProductsPagedCallable()

public UnaryCallable<ListLogicalProductsRequest,CloudProductRegistryReadServiceClient.ListLogicalProductsPagedResponse> listLogicalProductsPagedCallable()
Returns
Type Description
UnaryCallable<ListLogicalProductsRequest,ListLogicalProductsPagedResponse>
Overrides

listProductSuitesCallable()

public UnaryCallable<ListProductSuitesRequest,ListProductSuitesResponse> listProductSuitesCallable()
Returns
Type Description
UnaryCallable<ListProductSuitesRequest,ListProductSuitesResponse>
Overrides

listProductSuitesPagedCallable()

public UnaryCallable<ListProductSuitesRequest,CloudProductRegistryReadServiceClient.ListProductSuitesPagedResponse> listProductSuitesPagedCallable()
Returns
Type Description
UnaryCallable<ListProductSuitesRequest,ListProductSuitesPagedResponse>
Overrides

lookupEntityCallable()

public UnaryCallable<LookupEntityRequest,LookupEntityResponse> lookupEntityCallable()
Returns
Type Description
UnaryCallable<LookupEntityRequest,LookupEntityResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()