Send feedback
  
   
 
  
    
      Class HttpJsonTargetPoolsStub (1.88.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  HttpJsonTargetPoolsStub   extends   TargetPoolsStub  
  REST stub implementation for the TargetPools service API.
 
This class is for advanced usage and reflects the underlying API directly.
Static Methods
   
  create(ClientContext clientContext) 
  
    
public   static   final   HttpJsonTargetPoolsStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
public   static   final   HttpJsonTargetPoolsStub   create ( ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  
  
  
  create(TargetPoolsStubSettings settings) 
  
    
public   static   final   HttpJsonTargetPoolsStub   create ( TargetPoolsStubSettings   settings )  
  
  
  
  getMethodDescriptors() 
  
    
public   static   List<ApiMethodDescriptor>   getMethodDescriptors ()  
  
  
  Constructors
   
  HttpJsonTargetPoolsStub(TargetPoolsStubSettings settings, ClientContext clientContext) 
  
    
protected   HttpJsonTargetPoolsStub ( TargetPoolsStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of HttpJsonTargetPoolsStub, 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.
HttpJsonTargetPoolsStub(TargetPoolsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
protected   HttpJsonTargetPoolsStub ( TargetPoolsStubSettings   settings ,   ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  Constructs an instance of HttpJsonTargetPoolsStub, 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
   
  addHealthCheckCallable() 
  
    
public   UnaryCallable<AddHealthCheckTargetPoolRequest , Operation >  addHealthCheckCallable ()  
  
  Overrides 
  
  addHealthCheckOperationCallable() 
  
    
public   OperationCallable<AddHealthCheckTargetPoolRequest , Operation , Operation >  addHealthCheckOperationCallable ()  
  
  Overrides 
  
  addInstanceCallable() 
  
    
public   UnaryCallable<AddInstanceTargetPoolRequest , Operation >  addInstanceCallable ()  
  
  Overrides 
  
  addInstanceOperationCallable() 
  
    
public   OperationCallable<AddInstanceTargetPoolRequest , Operation , Operation >  addInstanceOperationCallable ()  
  
  Overrides 
  
  aggregatedListCallable() 
  
    
public   UnaryCallable<AggregatedListTargetPoolsRequest , TargetPoolAggregatedList >  aggregatedListCallable ()  
  
  Overrides 
  
  aggregatedListPagedCallable() 
  
    
public   UnaryCallable<AggregatedListTargetPoolsRequest , TargetPoolsClient . AggregatedListPagedResponse >  aggregatedListPagedCallable ()  
  
  Overrides 
  
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  close() 
  
    
public   final   void   close ()  
  Overrides 
  
  deleteCallable() 
  
    
public   UnaryCallable<DeleteTargetPoolRequest , Operation >  deleteCallable ()  
  
  Overrides 
  
  deleteOperationCallable() 
  
    
public   OperationCallable<DeleteTargetPoolRequest , Operation , Operation >  deleteOperationCallable ()  
  
  Overrides 
  
  getCallable() 
  
    
public   UnaryCallable<GetTargetPoolRequest , TargetPool >  getCallable ()  
  
  Overrides 
  
  getHealthCallable() 
  
    
public   UnaryCallable<GetHealthTargetPoolRequest , TargetPoolInstanceHealth >  getHealthCallable ()  
  
  Overrides 
  
  insertCallable() 
  
    
public   UnaryCallable<InsertTargetPoolRequest , Operation >  insertCallable ()  
  
  Overrides 
  
  insertOperationCallable() 
  
    
public   OperationCallable<InsertTargetPoolRequest , Operation , Operation >  insertOperationCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listCallable() 
  
    
public   UnaryCallable<ListTargetPoolsRequest , TargetPoolList >  listCallable ()  
  
  Overrides 
  
  listPagedCallable() 
  
    
public   UnaryCallable<ListTargetPoolsRequest , TargetPoolsClient . ListPagedResponse >  listPagedCallable ()  
  
  Overrides 
  
  removeHealthCheckCallable() 
  
    
public   UnaryCallable<RemoveHealthCheckTargetPoolRequest , Operation >  removeHealthCheckCallable ()  
  
  Overrides 
  
  removeHealthCheckOperationCallable() 
  
    
public   OperationCallable<RemoveHealthCheckTargetPoolRequest , Operation , Operation >  removeHealthCheckOperationCallable ()  
  
  Overrides 
  
  removeInstanceCallable() 
  
    
public   UnaryCallable<RemoveInstanceTargetPoolRequest , Operation >  removeInstanceCallable ()  
  
  Overrides 
  
  removeInstanceOperationCallable() 
  
    
public   OperationCallable<RemoveInstanceTargetPoolRequest , Operation , Operation >  removeInstanceOperationCallable ()  
  
  Overrides 
  
  setBackupCallable() 
  
    
public   UnaryCallable<SetBackupTargetPoolRequest , Operation >  setBackupCallable ()  
  
  Overrides 
  
  setBackupOperationCallable() 
  
    
public   OperationCallable<SetBackupTargetPoolRequest , Operation , Operation >  setBackupOperationCallable ()  
  
  Overrides 
  
  setSecurityPolicyCallable() 
  
    
public   UnaryCallable<SetSecurityPolicyTargetPoolRequest , Operation >  setSecurityPolicyCallable ()  
  
  Overrides 
  
  setSecurityPolicyOperationCallable() 
  
    
public   OperationCallable<SetSecurityPolicyTargetPoolRequest , Operation , Operation >  setSecurityPolicyOperationCallable ()  
  
  Overrides 
  
  shutdown() 
  
  shutdownNow() 
  
    
public   void   shutdownNow ()  
  testIamPermissionsCallable() 
  
    
public   UnaryCallable<TestIamPermissionsTargetPoolRequest , TestPermissionsResponse >  testIamPermissionsCallable ()  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]