Class ContextName.ProjectLocationSessionContextBuilder (4.5.11) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.5.11keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   class  ContextName . ProjectLocationSessionContextBuilder  
  Builder for
 projects/{project}/locations/{location}/agent/sessions/{session}/contexts/{context}.
Constructors
   
  ProjectLocationSessionContextBuilder() 
  
    
protected   ProjectLocationSessionContextBuilder ()  
  Methods
   
  build() 
  
    
public   ContextName   build ()  
  Returns 
  
  getContext() 
  
    
public   String   getContext ()  
  Returns 
  
  getLocation() 
  
    
public   String   getLocation ()  
  Returns 
  
  getProject() 
  
    
public   String   getProject ()  
  Returns 
  
  getSession() 
  
    
public   String   getSession ()  
  Returns 
  
  setContext(String context) 
  
    
public   ContextName . ProjectLocationSessionContextBuilder   setContext ( String   context )  
  Parameter 
  
    
      
        Name Description  
      
        context String  
     
  
  Returns 
  
  setLocation(String location) 
  
    
public   ContextName . ProjectLocationSessionContextBuilder   setLocation ( String   location )  
  Parameter 
  
    
      
        Name Description  
      
        location String  
     
  
  Returns 
  
  setProject(String project) 
  
    
public   ContextName . ProjectLocationSessionContextBuilder   setProject ( String   project )  
  Parameter 
  
    
      
        Name Description  
      
        project String  
     
  
  Returns 
  
  setSession(String session) 
  
    
public   ContextName . ProjectLocationSessionContextBuilder   setSession ( String   session )  
  Parameter 
  
    
      
        Name Description  
      
        session String  
     
  
  Returns 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["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-29 UTC."],[],[]]