Class ApiMethodDescriptor<RequestT,ResponseT> (2.7.1)

publicabstractclass ApiMethodDescriptor<RequestT,ResponseT>

Inheritance

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

Type Parameters

Name Description
RequestT
ResponseT

Constructors

ApiMethodDescriptor()

publicApiMethodDescriptor()

Methods

<RequestT,ResponseT>newBuilder()

publicstaticApiMethodDescriptor.Builder<RequestT,ResponseT><RequestT,ResponseT>newBuilder()
Returns
Type Description
Builder<RequestT,ResponseT>

getFullMethodName()

publicabstractStringgetFullMethodName()
Returns
Type Description

getHttpMethod()

publicabstractStringgetHttpMethod()

Return the HTTP method for this request message type.

Returns
Type Description

getOperationSnapshotFactory()

publicabstractOperationSnapshotFactory<RequestT,ResponseT>getOperationSnapshotFactory()
Returns
Type Description
OperationSnapshotFactory<RequestT,ResponseT>

getPollingRequestFactory()

publicabstractPollingRequestFactory<RequestT>getPollingRequestFactory()
Returns
Type Description

getRequestFormatter()

publicabstractHttpRequestFormatter<RequestT>getRequestFormatter()
Returns
Type Description

getResponseParser()

publicabstractHttpResponseParser<ResponseT>getResponseParser()
Returns
Type Description
HttpResponseParser<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.