Class ApiMessageHttpRequestFormatter.Builder<RequestT> (2.7.1)

public static class ApiMessageHttpRequestFormatter.Builder<RequestT>

Inheritance

java.lang.Object > ApiMessageHttpRequestFormatter.Builder<RequestT>

Type Parameter

NameDescription
RequestT

Methods

build()

public ApiMessageHttpRequestFormatter<RequestT> build()
Returns
TypeDescription
ApiMessageHttpRequestFormatter<RequestT>

setPathTemplate(PathTemplate pathTemplate)

public ApiMessageHttpRequestFormatter.Builder<RequestT> setPathTemplate(PathTemplate pathTemplate)
Parameter
NameDescription
pathTemplatecom.google.api.pathtemplate.PathTemplate
Returns
TypeDescription
Builder<RequestT>

setQueryParams(Set<String> queryParams)

public ApiMessageHttpRequestFormatter.Builder<RequestT> setQueryParams(Set<String> queryParams)
Parameter
NameDescription
queryParamsSet<String>
Returns
TypeDescription
Builder<RequestT>

setResourceNameFactory(ResourceNameFactory resourceNameFactory)

public ApiMessageHttpRequestFormatter.Builder<RequestT> setResourceNameFactory(ResourceNameFactory resourceNameFactory)
Parameter
NameDescription
resourceNameFactorycom.google.api.resourcenames.ResourceNameFactory
Returns
TypeDescription
Builder<RequestT>

setResourceNameField(String resourceNameField)

public ApiMessageHttpRequestFormatter.Builder<RequestT> setResourceNameField(String resourceNameField)
Parameter
NameDescription
resourceNameFieldString
Returns
TypeDescription
Builder<RequestT>