Class PrivateCatalogGrpc
- java.lang.Object
-
- com.google.cloud.privatecatalog.v1beta1.PrivateCatalogGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/privatecatalog/v1beta1/private_catalog.proto") public final class PrivateCatalogGrpc extends Object
`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][].
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PrivateCatalogGrpc.AsyncService
`PrivateCatalog` allows catalog consumers to retrieve `Catalog`, `Product` and `Version` resources under a target resource context.static class
PrivateCatalogGrpc.PrivateCatalogBlockingStub
A stub to allow clients to do synchronous rpc calls to service PrivateCatalog.static class
PrivateCatalogGrpc.PrivateCatalogFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service PrivateCatalog.static class
PrivateCatalogGrpc.PrivateCatalogImplBase
Base class for the server implementation of the service PrivateCatalog.static class
PrivateCatalogGrpc.PrivateCatalogStub
A stub to allow clients to do asynchronous rpc calls to service PrivateCatalog.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(PrivateCatalogGrpc.AsyncService service)
static io.grpc.MethodDescriptor<SearchCatalogsRequest,SearchCatalogsResponse>
getSearchCatalogsMethod()
static io.grpc.MethodDescriptor<SearchProductsRequest,SearchProductsResponse>
getSearchProductsMethod()
static io.grpc.MethodDescriptor<SearchVersionsRequest,SearchVersionsResponse>
getSearchVersionsMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static PrivateCatalogGrpc.PrivateCatalogBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic PrivateCatalogGrpc.PrivateCatalogFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic PrivateCatalogGrpc.PrivateCatalogStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSearchCatalogsMethod
public static io.grpc.MethodDescriptor<SearchCatalogsRequest,SearchCatalogsResponse> getSearchCatalogsMethod()
-
getSearchProductsMethod
public static io.grpc.MethodDescriptor<SearchProductsRequest,SearchProductsResponse> getSearchProductsMethod()
-
getSearchVersionsMethod
public static io.grpc.MethodDescriptor<SearchVersionsRequest,SearchVersionsResponse> getSearchVersionsMethod()
-
newStub
public static PrivateCatalogGrpc.PrivateCatalogStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static PrivateCatalogGrpc.PrivateCatalogBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static PrivateCatalogGrpc.PrivateCatalogFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(PrivateCatalogGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-