Class ApiMethodDescriptor<RequestT,ResponseT> (2.46.1)

publicabstractclass ApiMethodDescriptor<RequestT,ResponseT>

Inheritance

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

Type Parameters

Name Description
RequestT
ResponseT

Static Methods

<RequestT,ResponseT>newBuilder()

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

Constructors

ApiMethodDescriptor()

publicApiMethodDescriptor()

Methods

getFullMethodName()

publicabstractStringgetFullMethodName()
Returns
Type Description
String

getHttpMethod()

publicabstractStringgetHttpMethod()

Return the HTTP method for this request message type.

Returns
Type Description
String

getOperationSnapshotFactory()

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

getPollingRequestFactory()

publicabstractPollingRequestFactory<RequestT>getPollingRequestFactory()
Returns
Type Description
PollingRequestFactory<RequestT>

getRequestFormatter()

publicabstractHttpRequestFormatter<RequestT>getRequestFormatter()
Returns
Type Description
HttpRequestFormatter<RequestT>

getResponseParser()

publicabstractHttpResponseParser<ResponseT>getResponseParser()
Returns
Type Description
HttpResponseParser<ResponseT>

getType()

publicabstractApiMethodDescriptor.MethodTypegetType()
Returns
Type Description
ApiMethodDescriptor.MethodType

toBuilder()

publicabstractApiMethodDescriptor.Builder<RequestT,ResponseT>toBuilder()
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.