Send feedback
  
   
 
  
    
      Interface ValueBuilder<V,P,B> (2.32.2) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   interface  ValueBuilder<V , P , B > 
  A common interface for Value builders.
    
      
        Type Parameters  
      
        Name Description  
      
        V 
      
        P 
      
        B 
     
  
  Methods
   
  build() 
  
    
public   abstract   P   build ()  
  
    
      
        Returns  
      
        Type Description  
      
        P  
     
  
  get() 
  
  
    
      
        Returns  
      
        Type Description  
      
        V  
     
  
  getExcludeFromIndexes() 
  
    
public   abstract   boolean   getExcludeFromIndexes ()  
  
  getMeaning() (deprecated) 
  
    
public   abstract   int   getMeaning ()  
  Deprecated. This library preserves the field for backwards compatibility.
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getValueType() 
  
    
public   abstract   ValueType   getValueType ()  
  
  mergeFrom(P other) 
  
    
public   abstract   B   mergeFrom ( P   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherP  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        B  
     
  
  set(V value) 
  
    
public   abstract   B   set ( V   value )  
  
    
      
        Parameter  
      
        Name Description  
      
        valueV  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        B  
     
  
  setExcludeFromIndexes(boolean excludeFromIndexes) 
  
    
public   abstract   B   setExcludeFromIndexes ( boolean   excludeFromIndexes )  
  
    
      
        Parameter  
      
        Name Description  
      
        excludeFromIndexesboolean  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        B  
     
  
  setMeaning(int meaning) (deprecated) 
  
    
public   abstract   B   setMeaning ( int   meaning )  
  Deprecated. This library preserves the field for backwards compatibility.
    
      
        Parameter  
      
        Name Description  
      
        meaningint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        B  
     
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    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-11 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-11 UTC."],[],[]]