Class GrpcCloudMemcacheStub (2.39.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.39.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   class  GrpcCloudMemcacheStub   extends   CloudMemcacheStub  
   
  gRPC stub implementation for the CloudMemcache service API.
 
This class is for advanced usage and reflects the underlying API directly.
 
  
  
  Static Methods
   
   
  create(ClientContext clientContext) 
  
    
public   static   final   GrpcCloudMemcacheStub   create ( ClientContext   clientContext )  
   
  
  
  
   
  create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
public   static   final   GrpcCloudMemcacheStub   create ( ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
   
  
  
  
   
  create(CloudMemcacheStubSettings settings) 
  
    
public   static   final   GrpcCloudMemcacheStub   create ( CloudMemcacheStubSettings   settings )  
   
  
  
  
  Constructors
   
   
  GrpcCloudMemcacheStub(CloudMemcacheStubSettings settings, ClientContext clientContext) 
  
    
protected   GrpcCloudMemcacheStub ( CloudMemcacheStubSettings   settings ,   ClientContext   clientContext )  
   
  Constructs an instance of GrpcCloudMemcacheStub, 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.
 
  
   
  GrpcCloudMemcacheStub(CloudMemcacheStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
protected   GrpcCloudMemcacheStub ( CloudMemcacheStubSettings   settings ,   ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
   
  Constructs an instance of GrpcCloudMemcacheStub, 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.
 
  
  Methods
   
   
  applyParametersCallable() 
  
    
public   UnaryCallable<ApplyParametersRequest , Operation >  applyParametersCallable ()  
   
  
  Overrides 
  
   
  applyParametersOperationCallable() 
  
    
public   OperationCallable<ApplyParametersRequest , Instance , OperationMetadata >  applyParametersOperationCallable ()  
   
  
  Overrides 
  
   
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
   
  
  
  
   
  close() 
  
    
public   final   void   close ()  
   
  Overrides 
  
   
  createInstanceCallable() 
  
    
public   UnaryCallable<CreateInstanceRequest , Operation >  createInstanceCallable ()  
   
  
  Overrides 
  
   
  createInstanceOperationCallable() 
  
    
public   OperationCallable<CreateInstanceRequest , Instance , OperationMetadata >  createInstanceOperationCallable ()  
   
  
  Overrides 
  
   
  deleteInstanceCallable() 
  
    
public   UnaryCallable<DeleteInstanceRequest , Operation >  deleteInstanceCallable ()  
   
  
  Overrides 
  
   
  deleteInstanceOperationCallable() 
  
    
public   OperationCallable<DeleteInstanceRequest , Empty , OperationMetadata >  deleteInstanceOperationCallable ()  
   
  
  Overrides 
  
   
  getInstanceCallable() 
  
    
public   UnaryCallable<GetInstanceRequest , Instance >  getInstanceCallable ()  
   
  
  Overrides 
  
   
  getLocationCallable() 
  
    
public   UnaryCallable<GetLocationRequest , Location >  getLocationCallable ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location > 
         
       
     
  
  Overrides 
  
   
  getOperationsStub() 
  
    
public   GrpcOperationsStub   getOperationsStub ()  
   
  
  Overrides 
  
   
  isShutdown() 
  
    
public   boolean   isShutdown ()  
   
  
   
  isTerminated() 
  
    
public   boolean   isTerminated ()  
   
  
   
  listInstancesCallable() 
  
    
public   UnaryCallable<ListInstancesRequest , ListInstancesResponse >  listInstancesCallable ()  
   
  
  Overrides 
  
   
  listInstancesPagedCallable() 
  
    
public   UnaryCallable<ListInstancesRequest , CloudMemcacheClient . ListInstancesPagedResponse >  listInstancesPagedCallable ()  
   
  
  Overrides 
  
   
  listLocationsCallable() 
  
    
public   UnaryCallable<ListLocationsRequest , ListLocationsResponse >  listLocationsCallable ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse > 
         
       
     
  
  Overrides 
  
   
  listLocationsPagedCallable() 
  
    
public   UnaryCallable<ListLocationsRequest , CloudMemcacheClient . ListLocationsPagedResponse >  listLocationsPagedCallable ()  
   
  
  Overrides 
  
   
  rescheduleMaintenanceCallable() 
  
    
public   UnaryCallable<RescheduleMaintenanceRequest , Operation >  rescheduleMaintenanceCallable ()  
   
  
  Overrides 
  
   
  rescheduleMaintenanceOperationCallable() 
  
    
public   OperationCallable<RescheduleMaintenanceRequest , Instance , OperationMetadata >  rescheduleMaintenanceOperationCallable ()  
   
  
  Overrides 
  
   
  shutdown() 
  
   
  shutdownNow() 
  
    
public   void   shutdownNow ()  
   
   
  updateInstanceCallable() 
  
    
public   UnaryCallable<UpdateInstanceRequest , Operation >  updateInstanceCallable ()  
   
  
  Overrides 
  
   
  updateInstanceOperationCallable() 
  
    
public   OperationCallable<UpdateInstanceRequest , Instance , OperationMetadata >  updateInstanceOperationCallable ()  
   
  
  Overrides 
  
   
  updateParametersCallable() 
  
    
public   UnaryCallable<UpdateParametersRequest , Operation >  updateParametersCallable ()  
   
  
  Overrides 
  
   
  updateParametersOperationCallable() 
  
    
public   OperationCallable<UpdateParametersRequest , Instance , OperationMetadata >  updateParametersOperationCallable ()  
   
  
  Overrides 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]