Class HttpJsonCloudProductRegistryReadServiceStub (0.1.0)

public class HttpJsonCloudProductRegistryReadServiceStub extends CloudProductRegistryReadServiceStub

REST stub implementation for the CloudProductRegistryReadService service API.

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

Inheritance

java.lang.Object > CloudProductRegistryReadServiceStub > HttpJsonCloudProductRegistryReadServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(CloudProductRegistryReadServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonCloudProductRegistryReadServiceStub(CloudProductRegistryReadServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCloudProductRegistryReadServiceStub(CloudProductRegistryReadServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonCloudProductRegistryReadServiceStub(CloudProductRegistryReadServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCloudProductRegistryReadServiceStub(CloudProductRegistryReadServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

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