@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/redis/cluster/v1/cloud_redis_cluster.proto") public final class CloudRedisClusterGrpc extends Object
Configures and manages Cloud Memorystore for Redis clusters
Google Cloud Memorystore for Redis Cluster
The `redis.googleapis.com` service implements the Google Cloud Memorystore
for Redis API and defines the following resource model for managing Redis
clusters:
* The service works with a collection of cloud projects, named: `/projects/*`
* Each project has a collection of available locations, named: `/locations/*`
* Each location has a collection of Redis clusters, named: `/clusters/*`
* As such, Redis clusters are resources of the form:
`/projects/{project_id}/locations/{location_id}/clusters/{instance_id}`
Note that location_id must be a GCP `region`; for example:
* `projects/redpepper-1290/locations/us-central1/clusters/my-redis`
We use API version selector for Flex APIs
* The versioning strategy is release-based versioning
* Our backend CLH only deals with the superset version (called v1main)
* Existing backend for Redis Gen1 and MRR is not touched.
* More details in go/redis-flex-api-versioning
| Modifier and Type | Class and Description |
|---|---|
static interface |
CloudRedisClusterGrpc.AsyncService
Configures and manages Cloud Memorystore for Redis clusters
Google Cloud Memorystore for Redis Cluster
The `redis.googleapis.com` service implements the Google Cloud Memorystore
for Redis API and defines the following resource model for managing Redis
clusters:
* The service works with a collection of cloud projects, named: `/projects/*`
* Each project has a collection of available locations, named: `/locations/*`
* Each location has a collection of Redis clusters, named: `/clusters/*`
* As such, Redis clusters are resources of the form:
`/projects/{project_id}/locations/{location_id}/clusters/{instance_id}`
Note that location_id must be a GCP `region`; for example:
* `projects/redpepper-1290/locations/us-central1/clusters/my-redis`
We use API version selector for Flex APIs
* The versioning strategy is release-based versioning
* Our backend CLH only deals with the superset version (called v1main)
* Existing backend for Redis Gen1 and MRR is not touched.
|
static class |
CloudRedisClusterGrpc.CloudRedisClusterBlockingStub
A stub to allow clients to do synchronous rpc calls to service CloudRedisCluster.
|
static class |
CloudRedisClusterGrpc.CloudRedisClusterFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service CloudRedisCluster.
|
static class |
CloudRedisClusterGrpc.CloudRedisClusterImplBase
Base class for the server implementation of the service CloudRedisCluster.
|
static class |
CloudRedisClusterGrpc.CloudRedisClusterStub
A stub to allow clients to do asynchronous rpc calls to service CloudRedisCluster.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.ServerServiceDefinition |
bindService(CloudRedisClusterGrpc.AsyncService service) |
static io.grpc.MethodDescriptor<CreateClusterRequest,com.google.longrunning.Operation> |
getCreateClusterMethod() |
static io.grpc.MethodDescriptor<DeleteClusterRequest,com.google.longrunning.Operation> |
getDeleteClusterMethod() |
static io.grpc.MethodDescriptor<GetClusterRequest,Cluster> |
getGetClusterMethod() |
static io.grpc.MethodDescriptor<ListClustersRequest,ListClustersResponse> |
getListClustersMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static io.grpc.MethodDescriptor<UpdateClusterRequest,com.google.longrunning.Operation> |
getUpdateClusterMethod() |
static CloudRedisClusterGrpc.CloudRedisClusterBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static CloudRedisClusterGrpc.CloudRedisClusterFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static CloudRedisClusterGrpc.CloudRedisClusterStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final String SERVICE_NAME
public static io.grpc.MethodDescriptor<ListClustersRequest,ListClustersResponse> getListClustersMethod()
public static io.grpc.MethodDescriptor<GetClusterRequest,Cluster> getGetClusterMethod()
public static io.grpc.MethodDescriptor<UpdateClusterRequest,com.google.longrunning.Operation> getUpdateClusterMethod()
public static io.grpc.MethodDescriptor<DeleteClusterRequest,com.google.longrunning.Operation> getDeleteClusterMethod()
public static io.grpc.MethodDescriptor<CreateClusterRequest,com.google.longrunning.Operation> getCreateClusterMethod()
public static CloudRedisClusterGrpc.CloudRedisClusterStub newStub(io.grpc.Channel channel)
public static CloudRedisClusterGrpc.CloudRedisClusterBlockingStub newBlockingStub(io.grpc.Channel channel)
public static CloudRedisClusterGrpc.CloudRedisClusterFutureStub newFutureStub(io.grpc.Channel channel)
public static final io.grpc.ServerServiceDefinition bindService(CloudRedisClusterGrpc.AsyncService service)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2023 Google LLC. All rights reserved.