Send feedback
  
   
 
  
    
      Class HttpJsonOsConfigServiceStub (2.80.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  HttpJsonOsConfigServiceStub   extends   OsConfigServiceStub  
  REST stub implementation for the OsConfigService service API.
 
This class is for advanced usage and reflects the underlying API directly.
Static Methods
   
  create(ClientContext clientContext) 
  
    
public   static   final   HttpJsonOsConfigServiceStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
public   static   final   HttpJsonOsConfigServiceStub   create ( ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  
  
  
  create(OsConfigServiceStubSettings settings) 
  
    
public   static   final   HttpJsonOsConfigServiceStub   create ( OsConfigServiceStubSettings   settings )  
  
  
  
  getMethodDescriptors() 
  
    
public   static   List<ApiMethodDescriptor>   getMethodDescriptors ()  
  
  
  Constructors
   
  HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext) 
  
    
protected   HttpJsonOsConfigServiceStub ( OsConfigServiceStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of HttpJsonOsConfigServiceStub, 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.
HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
protected   HttpJsonOsConfigServiceStub ( OsConfigServiceStubSettings   settings ,   ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  Constructs an instance of HttpJsonOsConfigServiceStub, 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
   
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  cancelPatchJobCallable() 
  
    
public   UnaryCallable<PatchJobs . CancelPatchJobRequest , PatchJobs . PatchJob >  cancelPatchJobCallable ()  
  
  Overrides 
  
  close() 
  
    
public   final   void   close ()  
  Overrides 
  
  createPatchDeploymentCallable() 
  
    
public   UnaryCallable<PatchDeployments . CreatePatchDeploymentRequest , PatchDeployments . PatchDeployment >  createPatchDeploymentCallable ()  
  
  Overrides 
  
  deletePatchDeploymentCallable() 
  
    
public   UnaryCallable<PatchDeployments . DeletePatchDeploymentRequest , Empty >  deletePatchDeploymentCallable ()  
  
  Overrides 
  
  executePatchJobCallable() 
  
    
public   UnaryCallable<PatchJobs . ExecutePatchJobRequest , PatchJobs . PatchJob >  executePatchJobCallable ()  
  
  Overrides 
  
  getPatchDeploymentCallable() 
  
    
public   UnaryCallable<PatchDeployments . GetPatchDeploymentRequest , PatchDeployments . PatchDeployment >  getPatchDeploymentCallable ()  
  
  Overrides 
  
  getPatchJobCallable() 
  
    
public   UnaryCallable<PatchJobs . GetPatchJobRequest , PatchJobs . PatchJob >  getPatchJobCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listPatchDeploymentsCallable() 
  
    
public   UnaryCallable<PatchDeployments . ListPatchDeploymentsRequest , PatchDeployments . ListPatchDeploymentsResponse >  listPatchDeploymentsCallable ()  
  
  Overrides 
  
  listPatchDeploymentsPagedCallable() 
  
    
public   UnaryCallable<PatchDeployments . ListPatchDeploymentsRequest , OsConfigServiceClient . ListPatchDeploymentsPagedResponse >  listPatchDeploymentsPagedCallable ()  
  
  Overrides 
  
  listPatchJobInstanceDetailsCallable() 
  
    
public   UnaryCallable<PatchJobs . ListPatchJobInstanceDetailsRequest , PatchJobs . ListPatchJobInstanceDetailsResponse >  listPatchJobInstanceDetailsCallable ()  
  
  Overrides 
  
  listPatchJobInstanceDetailsPagedCallable() 
  
    
public   UnaryCallable<PatchJobs . ListPatchJobInstanceDetailsRequest , OsConfigServiceClient . ListPatchJobInstanceDetailsPagedResponse >  listPatchJobInstanceDetailsPagedCallable ()  
  
  Overrides 
  
  listPatchJobsCallable() 
  
    
public   UnaryCallable<PatchJobs . ListPatchJobsRequest , PatchJobs . ListPatchJobsResponse >  listPatchJobsCallable ()  
  
  Overrides 
  
  listPatchJobsPagedCallable() 
  
    
public   UnaryCallable<PatchJobs . ListPatchJobsRequest , OsConfigServiceClient . ListPatchJobsPagedResponse >  listPatchJobsPagedCallable ()  
  
  Overrides 
  
  pausePatchDeploymentCallable() 
  
    
public   UnaryCallable<PatchDeployments . PausePatchDeploymentRequest , PatchDeployments . PatchDeployment >  pausePatchDeploymentCallable ()  
  
  Overrides 
  
  resumePatchDeploymentCallable() 
  
    
public   UnaryCallable<PatchDeployments . ResumePatchDeploymentRequest , PatchDeployments . PatchDeployment >  resumePatchDeploymentCallable ()  
  
  Overrides 
  
  shutdown() 
  
  shutdownNow() 
  
    
public   void   shutdownNow ()  
  updatePatchDeploymentCallable() 
  
    
public   UnaryCallable<PatchDeployments . UpdatePatchDeploymentRequest , PatchDeployments . PatchDeployment >  updatePatchDeploymentCallable ()  
  
  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-29 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-29 UTC."],[],[]]