BaseApiService
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Base object encapsulating common functionality for interacting with Google APIs such as setting
 credentials, request timeouts, error handling and retry etc.
    
    
     
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      Inherited Method Summary
      
        
        
          
            From class
            com.google.common.util.concurrent.AbstractIdleService
          
          
            
            
            
              
              
    
    
        
        
          | final
                
                
                void | 
                addListener(Service.Listener arg0, Executor arg1)
                
               | 
    
    
        
        
          | final
                
                
                void | 
                awaitRunning()
                
               | 
    
    
        
        
          | final
                
                
                void | 
                awaitRunning(long arg0, TimeUnit arg1)
                
               | 
    
    
        
        
          | final
                
                
                void | 
                awaitTerminated(long arg0, TimeUnit arg1)
                
               | 
    
    
        
        
          | final
                
                
                void | 
                awaitTerminated()
                
               | 
    
    
        
        
          | final
                
                
                Throwable | 
                failureCause()
                
               | 
    
    
        
        
          | final
                
                
                boolean | 
                isRunning()
                
               | 
    
    
        
        
          | final
                
                
                Service | 
                startAsync()
                
               | 
    
    
        
        
          | final
                
                
                Service.State | 
                state()
                
               | 
    
    
        
        
          | final
                
                
                Service | 
                stopAsync()
                
               | 
    
    
        
        
          | String | 
                toString()
                
               | 
    
    
    
              
             
           
         
        
      
        
        
          
            From class
            java.lang.Object
          
          
            
            
            
              
              
    
    
        
        
          | boolean | 
                equals(Object arg0)
                
               | 
    
    
        
        
          | final
                
                
                Class<?> | 
                getClass()
                
               | 
    
    
        
        
          | int | 
                hashCode()
                
               | 
    
    
        
        
          | final
                
                
                void | 
                notify()
                
               | 
    
    
        
        
          | final
                
                
                void | 
                notifyAll()
                
               | 
    
    
        
        
          | String | 
                toString()
                
               | 
    
    
        
        
          | final
                
                
                void | 
                wait(long arg0, int arg1)
                
               | 
    
    
        
        
          | final
                
                
                void | 
                wait(long arg0)
                
               | 
    
    
        
        
          | final
                
                
                void | 
                wait()
                
               | 
    
    
    
              
             
           
         
        
      
        
        
          
            From interface
            com.google.common.util.concurrent.Service
          
          
            
            
            
              
              
    
    
        
        
          | abstract
                
                
                
                
                void | 
                addListener(Service.Listener arg0, Executor arg1)
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                void | 
                awaitRunning()
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                void | 
                awaitRunning(long arg0, TimeUnit arg1)
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                void | 
                awaitTerminated(long arg0, TimeUnit arg1)
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                void | 
                awaitTerminated()
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                Throwable | 
                failureCause()
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                boolean | 
                isRunning()
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                Service | 
                startAsync()
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                Service.State | 
                state()
                
               | 
    
    
        
        
          | abstract
                
                
                
                
                Service | 
                stopAsync()
                
               | 
    
    
    
              
             
           
         
        
      
      
    
    
    
     
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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-17 UTC.
  
  
  
    
      [null,null,["Last updated 2025-10-17 UTC."],[],[]]