Class ContextName.ProjectEnvironmentUserSessionContextBuilder (4.39.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.39.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    Beta 
    
    This library is covered by the Pre-GA Offerings Terms 
    of the  Terms of Service. Pre-GA libraries might have limited support,
    and changes to pre-GA libraries might not be compatible with other pre-GA versions.
    For more information, see the
    launch stage descriptions .
    
   
  
    
public   static   class  ContextName . ProjectEnvironmentUserSessionContextBuilder  
  Builder for
 projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}.
    Inheritance 
    java.lang.Object  >  
    ContextName.ProjectEnvironmentUserSessionContextBuilder 
   
  
  Constructors
   
  ProjectEnvironmentUserSessionContextBuilder() 
  
    
protected   ProjectEnvironmentUserSessionContextBuilder ()  
  Methods
   
  build() 
  
    
public   ContextName   build ()  
  
  getContext() 
  
    
public   String   getContext ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getEnvironment() 
  
    
public   String   getEnvironment ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getProject() 
  
    
public   String   getProject ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getSession() 
  
    
public   String   getSession ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getUser() 
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  setContext(String context) 
  
    
public   ContextName . ProjectEnvironmentUserSessionContextBuilder   setContext ( String   context )  
  
    
      
        Parameter  
      
        Name Description  
      
        contextString  
     
  
  
  setEnvironment(String environment) 
  
    
public   ContextName . ProjectEnvironmentUserSessionContextBuilder   setEnvironment ( String   environment )  
  
    
      
        Parameter  
      
        Name Description  
      
        environmentString  
     
  
  
  setProject(String project) 
  
    
public   ContextName . ProjectEnvironmentUserSessionContextBuilder   setProject ( String   project )  
  
    
      
        Parameter  
      
        Name Description  
      
        projectString  
     
  
  
  setSession(String session) 
  
    
public   ContextName . ProjectEnvironmentUserSessionContextBuilder   setSession ( String   session )  
  
    
      
        Parameter  
      
        Name Description  
      
        sessionString  
     
  
  
  setUser(String user) 
  
    
public   ContextName . ProjectEnvironmentUserSessionContextBuilder   setUser ( String   user )  
  
    
      
        Parameter  
      
        Name Description  
      
        userString  
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]