Class PrivateCatalogGrpc (0.17.0)

public final class PrivateCatalogGrpc

PrivateCatalog allows catalog consumers to retrieve Catalog, Product and Version resources under a target resource context. Catalog is computed based on the [Association][]s linked to the target resource and its ancestors. Each association's [google.cloud.privatecatalogproducer.v1beta.Catalog][] is transformed into a Catalog. If multiple associations have the same parent [google.cloud.privatecatalogproducer.v1beta.Catalog][], they are de-duplicated into one Catalog. Users must have cloudprivatecatalog.catalogTargets.get IAM permission on the resource context in order to access catalogs. Catalog contains the resource name and a subset of data of the original [google.cloud.privatecatalogproducer.v1beta.Catalog][]. Product is child resource of the catalog. A Product contains the resource name and a subset of the data of the original [google.cloud.privatecatalogproducer.v1beta.Product][]. Version is child resource of the product. A Version contains the resource name and a subset of the data of the original [google.cloud.privatecatalogproducer.v1beta.Version][].

Inheritance

java.lang.Object > PrivateCatalogGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(PrivateCatalogGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(PrivateCatalogGrpc.AsyncService service)
Parameter
NameDescription
servicePrivateCatalogGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getSearchCatalogsMethod()

public static MethodDescriptor<SearchCatalogsRequest,SearchCatalogsResponse> getSearchCatalogsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SearchCatalogsRequest,SearchCatalogsResponse>

getSearchProductsMethod()

public static MethodDescriptor<SearchProductsRequest,SearchProductsResponse> getSearchProductsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SearchProductsRequest,SearchProductsResponse>

getSearchVersionsMethod()

public static MethodDescriptor<SearchVersionsRequest,SearchVersionsResponse> getSearchVersionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SearchVersionsRequest,SearchVersionsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static PrivateCatalogGrpc.PrivateCatalogBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PrivateCatalogGrpc.PrivateCatalogBlockingStub

newFutureStub(Channel channel)

public static PrivateCatalogGrpc.PrivateCatalogFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PrivateCatalogGrpc.PrivateCatalogFutureStub

newStub(Channel channel)

public static PrivateCatalogGrpc.PrivateCatalogStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PrivateCatalogGrpc.PrivateCatalogStub