Class HttpJsonCallSettings<RequestT,ResponseT> (2.14.0)

public class HttpJsonCallSettings<RequestT,ResponseT>

HTTP-specific settings for creating callables.

Inheritance

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

Type Parameters

NameDescription
RequestT
ResponseT

Static Methods

<RequestT,ResponseT>create(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)

public static HttpJsonCallSettings<RequestT,ResponseT> <RequestT,ResponseT>create(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameter
NameDescription
methodDescriptorApiMethodDescriptor<RequestT,ResponseT>
Returns
TypeDescription
HttpJsonCallSettings<RequestT,ResponseT>

<RequestT,ResponseT>newBuilder()

public static HttpJsonCallSettings.Builder<RequestT,ResponseT> <RequestT,ResponseT>newBuilder()
Returns
TypeDescription
Builder<RequestT,ResponseT>

Methods

getMethodDescriptor()

public ApiMethodDescriptor<RequestT,ResponseT> getMethodDescriptor()
Returns
TypeDescription
ApiMethodDescriptor<RequestT,ResponseT>

getTypeRegistry()

public TypeRegistry getTypeRegistry()
Returns
TypeDescription
com.google.protobuf.TypeRegistry

toBuilder()

public HttpJsonCallSettings.Builder toBuilder()
Returns
TypeDescription
Builder