Send feedback
  
   
 
  
    
      Class ProtoMessageRequestFormatter.Builder<RequestT> (2.71.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   class  ProtoMessageRequestFormatter . Builder<RequestT>  
  
  
  
    
      
        Type Parameter  
      
        Name Description  
      
        RequestT 
     
  
  Constructors
   
  Methods
   
  
    
public   ProtoMessageRequestFormatter<RequestT>   build ()  
  
  
    
public   ProtoMessageRequestFormatter . Builder<RequestT>   setAdditionalPaths ( String []   rawAdditionalPaths )  
  
    
      
        Parameter  
      
        Name Description  
      
        rawAdditionalPathsString [] 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        Builder <RequestT > 
     
  
  
    
public   ProtoMessageRequestFormatter . Builder<RequestT>   setPath ( String   rawPath ,   FieldsExtractor<RequestT , Map<String , String >>  pathVarsExtractor )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Builder <RequestT > 
     
  
  
  
  
    
public   ProtoMessageRequestFormatter . Builder<RequestT>   setQueryParamsExtractor ( FieldsExtractor<RequestT , Map<String , List<String> >>  queryParamsExtractor )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Builder <RequestT > 
     
  
  setRequestBodyExtractor(FieldsExtractor<RequestT,String> requestBodyExtractor) 
  
    
public   ProtoMessageRequestFormatter . Builder<RequestT>   setRequestBodyExtractor ( FieldsExtractor<RequestT , String >  requestBodyExtractor )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Builder <RequestT > 
     
  
  
    
public   ProtoMessageRequestFormatter . Builder<RequestT>   updateRawPath ( String   rawPath )  
  
  
    
      
        Parameter  
      
        Name Description  
      
        rawPathString  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        Builder <RequestT > 
     
  
  
    
public   ProtoMessageRequestFormatter . Builder<RequestT>   updateRawPath ( String   target ,   String   replacement )  
  
  
    
      
        Parameters  
      
        Name Description  
      
        targetString  
      
        replacementString  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        Builder <RequestT > 
     
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    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-29 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-29 UTC."],[],[]]