Class HttpJsonCallSettings.Builder<RequestT,ResponseT> (2.43.0)

publicstaticclass HttpJsonCallSettings.Builder<RequestT,ResponseT>

Inheritance

java.lang.Object > HttpJsonCallSettings.Builder<RequestT,ResponseT>

Type Parameters

Name Description
RequestT
ResponseT

Methods

build()

publicHttpJsonCallSettings<RequestT,ResponseT>build()
Returns
Type Description
HttpJsonCallSettings<RequestT,ResponseT>

setMethodDescriptor(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)

publicHttpJsonCallSettings.Builder<RequestT,ResponseT>setMethodDescriptor(ApiMethodDescriptor<RequestT,ResponseT>methodDescriptor)
Parameter
Name Description
methodDescriptor ApiMethodDescriptor<RequestT,ResponseT>
Returns
Type Description
Builder<RequestT,ResponseT>

setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)

publicHttpJsonCallSettings.Builder<RequestT,ResponseT>setParamsExtractor(RequestParamsExtractor<RequestT>paramsExtractor)
Parameter
Name Description
paramsExtractor RequestParamsExtractor<RequestT>
Returns
Type Description
Builder<RequestT,ResponseT>

setRequestMutator(RequestMutator<RequestT> requestMutator)

publicHttpJsonCallSettings.Builder<RequestT,ResponseT>setRequestMutator(RequestMutator<RequestT>requestMutator)
Parameter
Name Description
requestMutator RequestMutator<RequestT>
Returns
Type Description
Builder<RequestT,ResponseT>

setTypeRegistry(TypeRegistry typeRegistry)

publicHttpJsonCallSettings.Builder<RequestT,ResponseT>setTypeRegistry(TypeRegistrytypeRegistry)
Parameter
Name Description
typeRegistry TypeRegistry
Returns
Type Description
Builder<RequestT,ResponseT>

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年11月19日 UTC.