Package com.google.cloud.memcache.v1
Class CloudMemcacheGrpc
java.lang.Object
com.google.cloud.memcache.v1.CloudMemcacheGrpc
Configures and manages Cloud Memorystore for Memcached instances.
The `memcache.googleapis.com` service implements the Google Cloud Memorystore
for Memcached API and defines the following resource model for managing
Memorystore Memcached (also called Memcached below) instances:
* 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 Memcached instances, named:
`/instances/*`
* As such, Memcached instances are resources of the form:
`/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
Note that location_id must be a GCP `region`; for example:
* `projects/my-memcached-project/locations/us-central1/instances/my-memcached`
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceConfigures and manages Cloud Memorystore for Memcached instances.static final classA stub to allow clients to do limited synchronous rpc calls to service CloudMemcache.static final classA stub to allow clients to do synchronous rpc calls to service CloudMemcache.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service CloudMemcache.static classBase class for the server implementation of the service CloudMemcache.static final classA stub to allow clients to do asynchronous rpc calls to service CloudMemcache. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<ApplyParametersRequest,Operation> static io.grpc.MethodDescriptor<CreateInstanceRequest,Operation> static io.grpc.MethodDescriptor<DeleteInstanceRequest,Operation> static io.grpc.MethodDescriptor<GetInstanceRequest,Instance> static io.grpc.MethodDescriptor<ListInstancesRequest,ListInstancesResponse> static io.grpc.MethodDescriptor<RescheduleMaintenanceRequest,Operation> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<UpdateInstanceRequest,Operation> static io.grpc.MethodDescriptor<UpdateParametersRequest,Operation> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getListInstancesMethod
public static io.grpc.MethodDescriptor<ListInstancesRequest,ListInstancesResponse> getListInstancesMethod() -
getGetInstanceMethod
-
getCreateInstanceMethod
-
getUpdateInstanceMethod
-
getUpdateParametersMethod
public static io.grpc.MethodDescriptor<UpdateParametersRequest,Operation> getUpdateParametersMethod() -
getDeleteInstanceMethod
-
getApplyParametersMethod
-
getRescheduleMaintenanceMethod
public static io.grpc.MethodDescriptor<RescheduleMaintenanceRequest,Operation> getRescheduleMaintenanceMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static CloudMemcacheGrpc.CloudMemcacheBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(CloudMemcacheGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-