Send feedback
Class ProtoMessageRequestFormatter.Builder<RequestT> (2.51.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.51.0 keyboard_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
rawAdditionalPaths
String []
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
rawPath
String
Returns
Type
Description
Builder <RequestT >
public ProtoMessageRequestFormatter.Builder<RequestT> updateRawPath(String target, String replacement)
Parameters
Name
Description
target
String
replacement
String
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 2024-11-26 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 2024-11-26 UTC."],[],[]]