Class PredictionResultName.Builder (0.19.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   class  PredictionResultName . Builder  
  Builder for
 projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}.
Constructors
   
  Builder() 
  
  Methods
   
  build() 
  
    
public   PredictionResultName   build ()  
  
  getInstance() 
  
    
public   String   getInstance ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getLocation() 
  
    
public   String   getLocation ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getPredictionResult() 
  
    
public   String   getPredictionResult ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getProjectNum() 
  
    
public   String   getProjectNum ()  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  setInstance(String instance) 
  
    
public   PredictionResultName . Builder   setInstance ( String   instance )  
  
    
      
        Parameter  
      
        Name Description  
      
        instanceString  
     
  
  
  setLocation(String location) 
  
    
public   PredictionResultName . Builder   setLocation ( String   location )  
  
    
      
        Parameter  
      
        Name Description  
      
        locationString  
     
  
  
  setPredictionResult(String predictionResult) 
  
    
public   PredictionResultName . Builder   setPredictionResult ( String   predictionResult )  
  
    
      
        Parameter  
      
        Name Description  
      
        predictionResultString  
     
  
  
  setProjectNum(String projectNum) 
  
    
public   PredictionResultName . Builder   setProjectNum ( String   projectNum )  
  
    
      
        Parameter  
      
        Name Description  
      
        projectNumString  
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]